10 Best JavaScript Browser History Libraries

Curated by the Openbase team and community.Learn more

Curated by the Openbase team and community. Learn more

react-router-dom

Declarative routing for React

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.6/ 5
367
Top Feedback
25Easy to Use
24Great Documentation
20Performant
GitHub Stars
44K
Weekly Downloads
5M
Last Commit
18hrs ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

react-router

Declarative routing for React

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.9/ 5
8
Top Feedback
6Great Documentation
5Easy to Use
4Highly Customizable
GitHub Stars
44K
Weekly Downloads
5M
Last Commit
18hrs ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

history

Manage session history with JavaScript

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.0/ 5
4
Top Feedback
2Poor Documentation
1Easy to Use
1Performant
GitHub Stars
7K
Weekly Downloads
6M
Last Commit
2mos ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

historyjs

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.

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
2
Top Feedback
N/A
GitHub Stars
11K
Weekly Downloads
923
Last Commit
2yrs ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
rrl

react-router-last-location

Provides access to the last location in react + react-router (v4.x, v5.x) applications. ❤️ Using hooks? useLastLocation | 💉 Using HOC? withLastLocation

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
280
Weekly Downloads
42K
Last Commit
2mos ago
Bundle Size (min+gzip)
1.69KB
Not Tree-Shakeable
rfh

redux-first-history

Redux history binding support react-router - @reach/router - wouter

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
175
Weekly Downloads
2K
Last Commit
1mo ago
Bundle Size (min+gzip)
1.92KB
Tree-Shakeable

react-router5

Flexible and powerful universal routing solution

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
12K
Last Commit
2yrs ago
Bundle Size (min+gzip)
2.34KB
Tree-Shakeable
has

hasher

Browser history manager for rich media websites

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
496
Weekly Downloads
10K
Last Commit
8yrs ago
Bundle Size (min+gzip)
1.94KB
Not Tree-Shakeable
hha

html5-history-api

HTML5 History API expansion for browsers not supporting pushState, replaceState

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
1K
Weekly Downloads
5K
Last Commit
1yr ago
Bundle Size (min+gzip)
3.54KB
Not Tree-Shakeable
prr

piwik-react-router

Piwik analytics component for react-router

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
58
Weekly Downloads
2K
Last Commit
4yrs ago
Bundle Size (min+gzip)
1.47KB
Not Tree-Shakeable

react-history

Manage session history with React

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
268
Weekly Downloads
761
Last Commit
3yrs ago
Bundle Size (min+gzip)
4.96KB
Not Tree-Shakeable
ubh

use-browser-history

A React hook to handle browser history events

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
3
Weekly Downloads
741
Last Commit
3yrs ago
Bundle Size (min+gzip)
0.48KB
Tree-Shakeable
rsr

redux-saga-router

A router for Redux Saga

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
153
Weekly Downloads
640
Last Commit
4yrs ago
Bundle Size (min+gzip)
5.76KB
Not Tree-Shakeable
rrc

react-router-component

Declarative router component for React.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
878
Weekly Downloads
251
Last Commit
2yrs ago
Bundle Size (min+gzip)
17.6KB
Not Tree-Shakeable
rbr

react-browser-router

A Router wrapper for react-router, it allows you to create multiple Routers share the same history.

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
1
Weekly Downloads
241
Last Commit
4yrs ago
Bundle Size (min+gzip)
1.95KB
Not Tree-Shakeable

history-plus

Manage session history with JavaScript

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
7K
Weekly Downloads
6
Last Commit
2mos ago
Bundle Size (min+gzip)
6.64KB
Not Tree-Shakeable
lh

location-history

Lightweight browser location history abstraction

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
69
Weekly Downloads
145
Last Commit
1yr ago
Bundle Size (min+gzip)
0.69KB
Not Tree-Shakeable

esr

Express-like Simple Router for client-side.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
27
Weekly Downloads
30
Last Commit
3yrs ago
Bundle Size (min+gzip)
7.42KB
Tree-Shakeable

nanohistory

Small browser history library

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
14
Weekly Downloads
22
Last Commit
5yrs ago
Bundle Size (min+gzip)
0.22KB
Not Tree-Shakeable
rmr

react-mobx-routing

The Browser Routing with React and Mobx

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
2
Weekly Downloads
20
Last Commit
1yr ago
Bundle Size (min+gzip)
24.0KB
Tree-Shakeable

bem-history

BEM wrap for History API

License Icon
License: MPL-2.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
22
Weekly Downloads
8
Last Commit
4yrs ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

redux-history-sync

Keeping browser history and redux in sync

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
10
Weekly Downloads
6
Last Commit
3yrs ago
Bundle Size (min+gzip)
26.8KB
Not Tree-Shakeable
ist

istalk

👻 Don't pollute your browser history. Stalk Instagram users from the command line!

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
2
Weekly Downloads
2
Last Commit
3yrs ago
Bundle Size (min+gzip)
20.3KB
Not Tree-Shakeable
rsh

redux-state-history

Redux store enhancers for tracking and visualizing state changes

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
93
Weekly Downloads
0
Last Commit
5yrs ago
Bundle Size (min+gzip)
18.1KB
Not Tree-Shakeable
bth

bootstrap-tab-history

Use the HTML5 History API with bootstrap/tab.

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
0
Last Commit
2yrs ago
Bundle Size (min+gzip)
0.94KB
Not Tree-Shakeable
rr

redux-routing

Universal routing built on top of redux

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
64
Weekly Downloads
0
Last Commit
4yrs ago
Bundle Size (min+gzip)
2.61KB
Tree-Shakeable