plainJS

Libraries / Inputs

Validate.js

A declarative validation library written javascript

Dormant0 dependenciesScript tagTypes bundledMIT

Security An open advisory is recorded for this package: GHSA-rv73-9c8w-jp4c. Check it before loading the library.

Facts

Facts fetched 2026-10-30 by the directory sync (GitHub, npm, jsDelivr, deps.dev). Nothing here is typed by hand.
Size14.2 KB minified, 4.9 KB gzipped (validate.js)
LicenceMIT
Dependenciesnone
Last releasev0.13.1, June 2019
Last activity2021-12-11 (Dormant)
Stars2,592 on GitHub
Formatsclassic script (global validate); TypeScript types in the package
CDN hits3.9 million a month on jsDelivr
npm downloads3.8 million 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 failed (not archived or deprecated). Smoke test on v0.13.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-tibqk3Tv5Fom5MJsrWw0P7C5OVwGbpxr8dIarLmIODf766y9piXkIE++T6KWkzeK" crossorigin="anonymous"></script>
Advertisement

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