Offside.js
Minimal JavaScript kit without library dependencies to push things off-canvas using just class manipulation.
No-build verifiedStable0 dependenciesScript tagMIT
Facts
| Size | 3.1 KB minified, 1.4 KB gzipped (dist/offside.js) |
|---|---|
| Licence | MIT |
| Dependencies | none |
| Last release | v1.4.0, March 2018 |
| Last activity | 2024-06-16 (Stable) |
| Stars | 280 on GitHub |
| Formats | classic script (global offside) |
| CDN hits | 77,414 a month on jsDelivr |
| npm downloads | 245 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.4.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/offside.js"
integrity="sha384-fPwZ3zfrzFKLrcw6PyQSJGMrjNBkikT1k5EvQfZ7SnsvrV0qBNfMY+5z3K2KPtzZ" crossorigin="anonymous"></script>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 94 in the directory. Facts refreshed monthly; last run 2026-10-30.