# BoxFactura/pulltorefresh.js

A quick and powerful plugin for your pull-to-refresh needs in your webapp.

Repository: https://github.com/BoxFactura/pulltorefresh.js
Canonical: https://ross.abutalabs.com/products/pulltorefreshjs
Homepage: http://bxf.mx/pulltorefresh.js/
Language: JavaScript
License: MIT
License Family: permissive
Topics: pulltorefresh, javascript, js
Last push: 2025-09-24T03:38:01+00:00

## Health v2 (maintenance only)
Score: 52/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 43, release rhythm 35, longevity 100
- inputs: {"age_days": 3590, "days_push": 343, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4002, forks 275 (observed 2026-08-28T04:08:32.091717+00:00)

## What it is
A small, dependency-free JavaScript library that adds pull-to-refresh functionality to web apps without requiring any markup changes. It is highly customizable via an options API and weighs under 8KB.

## Use cases
- add pull-to-refresh to a mobile web app
- implement pull to refresh in a PWA
- refresh page content with a swipe gesture on touch devices
- add native-like pull-to-refresh to a responsive website
- customize pull-to-refresh threshold and animation in JavaScript

## When to choose
- you want a lightweight, dependency-free pull-to-refresh solution
- you cannot modify your existing HTML markup
- you need fine-grained control over distances, triggers, and styling

## When to avoid
- you are building a native mobile app rather than a web app
- you need pull-to-refresh only on desktop with no touch input
- you use a framework that already bundles a pull-to-refresh component

## Facets
- artifact type: library
- maturity: stable
- function: ui-components, frontend-framework
- domain: web-development, frontend, mobile-development
- platform: browser
- tags: pull-to-refresh, touch-gestures, dependency-free, mobile-web, pwa, javascript, web

## Member repositories
- BoxFactura/pulltorefresh.js (main) score 52

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:32.091717+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:24:06.658347+00:00, confidence not recorded.
  - readme: https://github.com/BoxFactura/pulltorefresh.js (fetched 2026-08-28T04:08:32.091717+00:00, sha 4f3f74d99c13)
  - homepage: http://bxf.mx/pulltorefresh.js/ (fetched 2026-08-29T09:17:26.440626+00:00, sha f86aca448b2e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
