PulltoRefresh.js
A quick and powerful plugin for your pull-to-refresh needs in your webapp.
No-build verifiedStable0 dependenciesESM + script tagMIT
Facts
| Size | 7.3 KB minified, 2.5 KB gzipped (dist/index.umd.js) |
|---|---|
| Licence | MIT |
| Dependencies | none |
| Last release | v0.1.22, February 2021 |
| Last activity | 2025-09-24 (Stable) |
| Stars | 4,000 on GitHub |
| Formats | ES module; classic script (global PullToRefresh) |
| CDN hits | 674,600 a month on jsDelivr |
| npm downloads | 117,362 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 v0.1.22 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/index.umd.js"
integrity="sha384-PGvhFXT5lv4w6AaUD5R3fwr8QbVUQT4CGHNJX+nm+7lQWBvtpW6h/DOtri1TBpJL" crossorigin="anonymous"></script>import PullToRefresh from "https://cdn.jsdelivr.net/npm/[email protected]/dist/index.esm.js";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.
- Slip Slip.js — UI library for manipulating lists via swipe and drag gestures
Entry 150 in the directory. Facts refreshed monthly; last run 2026-10-30.