Skip to content
JS
Package

history.js

History.js gracefully supports the HTML5 History/State APIs (pushState, replaceState, onPopState) in all browsers. Including continued support for data, titles, replaceState. Supports jQuery, MooTools and Prototype. For HTML5 browsers this means that you can modify the URL directly, without needing to use hashes anymore. For HTML4 browsers it will revert back to using the old onhashchange functionality.

v1.8.0No license fieldCommonJSTypes: None
$ npm install history.js

Key numbers

As of 25 Sept 2026
Weekly downloads
378
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
-
v1.8.0
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

No weekly download data in the snapshot.

378 downloads last week, 2,308 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
1.8.0
First published
-
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
-

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
*
Runtimes
-
Unpacked size (npm)
-
Dependencies (2)
beandomready
npm install history.js

CDN

jsDelivr: 60k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/history.js@1.8.0/
  • unpkghttps://unpkg.com/history.js@1.8.0/
  • esm.shhttps://esm.sh/history.js@1.8.0
Sources: npm registry, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 378 < 10000; completeness 0.5 < 0.6 (missing: stars, release_date, license, category); GitHub data not fetched yet; no category.