plainJS

Libraries / Inputs

validate.js

Lightweight JavaScript form validation library inspired by CodeIgniter.

No-build verifiedDormant0 dependenciesScript tagMIT

Facts

Facts fetched 2026-10-30 by the directory sync (GitHub, npm, jsDelivr, deps.dev). Nothing here is typed by hand.
Size8.1 KB minified, 2.8 KB gzipped (validate.js)
LicenceMIT
Dependenciesnone
Last releasev2.0.1, January 2016
Last activity2020-03-02 (Dormant)
Stars2,541 on GitHub
Formatsclassic script (global FormValidator)
CDN hits554 a month on jsDelivr
npm downloads1,294 a month
GatesG1 passed (no runtime dependencies); G2 passed (loads in a browser as it is); G3 passed (no compile-only entry points); G4 passed (open-source licence); G5 passed (not archived or deprecated). Smoke test on v2.0.1 in headless Chromium, 2026-10-30

Load it

Pin the version. The hash is computed from the file jsDelivr serves, so a changed file fails to load instead of running.

htmlscript tag, with SRI
<script src="https://cdn.jsdelivr.net/npm/[email protected]/validate.js"
        integrity="sha384-+eGkm0RlKleI/get0BFA/YmQEV9H5iOvQuj24LTknoWKfbVOtIO7jcL8wp9cXVDA" crossorigin="anonymous"></script>
Advertisement

Entry 107 in the directory. Facts refreshed monthly; last run 2026-10-30.