SuperHash
HashMap that supports using one or more keys of any type*
Hash keys are generated using multikey-hash
Installation
$ npm install superhash
Examples
var SuperHash = ;var hashMap = ;var data = 'value';
Single key:
hashMap;hashMap; // returns undefinedhashMap; // returns 'value'hashMap; // returns true
Multiple keys:
hashMap;hashMap; // returns undefinedhashMap; // returns 'value'hashMap; // returns true
API
FAQ
What types of keys can be used?
Any primitive or mutable object can be used as a key.