Install
Installing input-validity
is as simple as adding a <script>
tag to your page. No need for complicated build steps or systems.
CDN
via CDN, for example unpkg:
or with specific version:
CDN approach is extremely simple but you may want to consider not using CDNs in production.
Download a copy
Download and copy it into your project to a public assets directory
NPM and bundlers
If you prefer you can also install with npm
/ pnpm
/ yarn
:
And then import into your code:
Currently only ESM is supported.