Skip to content

bpierre/minihash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minihash Build Status

Mini location.hash update system.

minihash illustration

Usage

var minihash = require('minihash');

var hash = minihash('!/', function(value) {
  // Value updated
});

// Update the window.location.hash value
hash.value = 'foo';

Installation

$ npm install minihash

Browser compatibility

IE9+ and modern browsers.

Browser support

License

MIT

Special thanks

Illustration made by Raphaël Bastide with scri.ch.