chronicler
v0.6.0
Published
Keeps track of browser history
Downloads
53
Readme
Chronicler
A simple wrapper around onhashchange
events that
works great together with
routine.
var hash = chronicler();
hash.on("change", function(fragment) {
console.log(fragment); //=> "some/url"
});
hash.start();
window.location.hash = "some/url";
Installation
npm install chronicler
Or download from dist
folder.