validate.js
Lightweight JavaScript form validation library inspired by CodeIgniter.
No-build verifiedDormant0 dependenciesScript tagMIT
Facts
| Size | 8.1 KB minified, 2.8 KB gzipped (validate.js) |
|---|---|
| Licence | MIT |
| Dependencies | none |
| Last release | v2.0.1, January 2016 |
| Last activity | 2020-03-02 (Dormant) |
| Stars | 2,541 on GitHub |
| Formats | classic script (global FormValidator) |
| CDN hits | 554 a month on jsDelivr |
| npm downloads | 1,294 a month |
| Gates | G1 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.
<script src="https://cdn.jsdelivr.net/npm/[email protected]/validate.js"
integrity="sha384-+eGkm0RlKleI/get0BFA/YmQEV9H5iOvQuj24LTknoWKfbVOtIO7jcL8wp9cXVDA" crossorigin="anonymous"></script>Advertisement
Related libraries
- DragSelect An easy JavaScript library for selecting and moving elements. With no dependencies. Drag-Select & Drag-And-Drop. – Examples:
- Croppr.js A vanilla JavaScript image cropper that's lightweight, awesome, and has absolutely zero dependencies.
- PulltoRefresh.js A quick and powerful plugin for your pull-to-refresh needs in your webapp.
Entry 107 in the directory. Facts refreshed monthly; last run 2026-10-30.