Cleave.js
Format input text content when you are typing...
No-build verifiedStable0 dependenciesESM + script tagApache-2.0
Facts
| Size | 20.6 KB minified, 6.2 KB gzipped (dist/cleave.js) |
|---|---|
| Licence | Apache-2.0 |
| Dependencies | none |
| Last release | v1.6.0, May 2020 |
| Last activity | 2023-11-25 (Stable) |
| Stars | 17,845 on GitHub |
| Formats | ES module; classic script (global Cleave) |
| CDN hits | 12.8 million a month on jsDelivr |
| npm downloads | 1.3 million 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 v1.6.0 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]/dist/cleave.js"
integrity="sha384-Nq5pI6+i/yBQfq8JusOdt4oMQ6EncGeoJXatCkB00+vx0NQeg3Od4+/OqiBOuXaA" crossorigin="anonymous"></script>import Cleave from "https://cdn.jsdelivr.net/npm/[email protected]/dist/cleave-esm.js";Advertisement
Related libraries
- Notus – Web Notifications Widget Yet another JavaScript pop-up notification library for the web.
- Speckle.js A JavaScript plugin that adds responsive, stylized speckles to any element; with no dependencies.
- Roar A zero-dependency, vanilla JavaScript alert/confirm replacement.
Entry 117 in the directory. Facts refreshed monthly; last run 2026-10-30.