Small window.location library
var nanolocation = require('nanolocation')
var location = nanolocation()
console.log(location)
Get the current window.location.pathname
+ window.location.hash
as a
single path. E.g. a pathname of /foo/bar/
and hash of #baz
becomes
/foo/bar/baz
.