{"_id":"hash-js","_rev":"4-b8c0a004d58303780cd7a69025c19442","name":"hash-js","description":"hash.js is a super tiny framework to handle your location.hash","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.2":{"name":"hash-js","version":"1.0.2","description":"hash.js is a super tiny framework to handle your location.hash","main":"hash.js","directories":{"test":"test"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/tonekk/hash.js.git"},"keywords":["location","hash","object"],"author":{"name":"Finn-Lennart Heemeyer","email":"finn@heemeyer.net","url":"http://hwz.berlin"},"license":"MIT","bugs":{"url":"https://github.com/tonekk/hash.js/issues"},"homepage":"https://github.com/tonekk/hash.js","gitHead":"e9036ceaaf81ff3704943e8ac511c8d405fdd3f7","_id":"hash-js@1.0.2","_shasum":"e7b8edc0a8df3ebf77e8def103488182358507ee","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"tonekk","email":"finn@heemeyer.net"},"dist":{"shasum":"e7b8edc0a8df3ebf77e8def103488182358507ee","tarball":"https://registry.npmjs.org/hash-js/-/hash-js-1.0.2.tgz","integrity":"sha512-583npS6TJj5WQ46FGlBORVH9ZOp2MrN66tSn5uNL89/HOFDr22uNBvQVAbAIkKgF77ZmXXerj0NvIfUdNZ/rIA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGxer7a5Ovtu7VuP0amrqi3XczfLHhLpN3NxFOa3HfW2AiEAtJHYX9jKFYwL0/3lVyKnJB29sFXzqtq64iPYXRRcrJY="}]},"maintainers":[{"name":"tonekk","email":"finn@heemeyer.net"}]},"1.0.3":{"name":"hash-js","version":"1.0.3","description":"hash.js is a super tiny framework to handle your location.hash","main":"hash.js","directories":{"test":"test"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/tonekk/hash.js.git"},"keywords":["location","hash","object"],"author":{"name":"Finn-Lennart Heemeyer","email":"finn@heemeyer.net","url":"http://hwz.berlin"},"license":"MIT","bugs":{"url":"https://github.com/tonekk/hash.js/issues"},"homepage":"https://github.com/tonekk/hash.js","gitHead":"aff1c7cca3487aad444787538eab0455e5e0ebad","_id":"hash-js@1.0.3","_shasum":"92d5c46f73092cf6bbee34b35a6bb83f9100ae41","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"tonekk","email":"finn@heemeyer.net"},"dist":{"shasum":"92d5c46f73092cf6bbee34b35a6bb83f9100ae41","tarball":"https://registry.npmjs.org/hash-js/-/hash-js-1.0.3.tgz","integrity":"sha512-+MNKhlF303DqU5VyMayW2G+DY0GU1iC9JNpr1EgLWeveC2W6B7GFouKv8VTSAFhSwAgtNsILHHjCzUMp5srZEQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+LqnCTLd/IX9bzkwT2RksysEW5hwCgpZRcZyHsLvmEAIhANBSizrs1zyWi3dinUiv4Tvt7StXJObcRhqnk0f8JAYg"}]},"maintainers":[{"name":"tonekk","email":"finn@heemeyer.net"}]}},"readme":"hash.js\n========\n\n[![License](http://img.shields.io/:license-mit-blue.svg)](http://tonekk.mit-license.org)\n[![Bower version](https://badge.fury.io/bo/hash.js.svg)](http://badge.fury.io/bo/hash.js)\n\n**hash.js** is a super tiny framework to handle your [location.hash](http://www.w3schools.com/jsref/prop_loc_hash.asp)\n\n## Get\n\n```javascript\n/*\n *  Given the following url: http://www.example.net/#!&foo=bar&array[]=1&array[]=2\n */\n \nhash('foo'); // 'bar'\nhash('array'); // ['1', '2']\nhash(); // { foo: 'bar', array: ['1', '2'] }\n```\n\n## Set\n\n```javascript\n\n// Results in http://www.example.net/#!&foo=bar\nhash('foo', 'bar');\n\n// Results in http://www.example.net/#!&foo[]=bar&foo[]=baz\nhash('foo', ['bar', 'baz']);\n\n// Results in http://www.example.net/#!\nhash('foo', undefined);\n\n```\n\n## Testing\n\nTests are written using `jasmine` and can be executed in the browser, by browsing `test/index.html`.\nThis project is too tiny for continuous integration imo.\n","maintainers":[{"name":"tonekk","email":"finn@heemeyer.net"}],"time":{"modified":"2022-06-18T19:27:50.169Z","created":"2015-04-30T12:00:58.600Z","1.0.2":"2015-04-30T12:00:58.600Z","1.0.3":"2015-04-30T12:09:18.136Z"},"homepage":"https://github.com/tonekk/hash.js","keywords":["location","hash","object"],"repository":{"type":"git","url":"https://github.com/tonekk/hash.js.git"},"author":{"name":"Finn-Lennart Heemeyer","email":"finn@heemeyer.net","url":"http://hwz.berlin"},"bugs":{"url":"https://github.com/tonekk/hash.js/issues"},"license":"MIT","readmeFilename":"README.md"}