Skip to content

A standalone JavaScript implementation of hash table with arbitrary keys

License

Notifications You must be signed in to change notification settings

Spaction/jshashtable

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A standalone implementation of hash table in JavaScript. It associates keys with values, and allows any object to be used as the key (unlike JavaScript's built-in Object, which only allows strings as property names). Also included is a hash set implementation, implemented by wrapping the keys of a hash table.

jshashtable requires no libraries and is designed to work in all ECMAScript 3 compliant environments, including all major browsers and Node.js. In particular, it has been tested and works in:

  • Firefox (all versions, back to Phoenix 0.1)
  • Internet Explorer 5.5+
  • Safari 3+ (untested in previous versions)
  • Google Chrome (all versions)
  • Opera 7+

See the jshashtable website for full documentation.

About

A standalone JavaScript implementation of hash table with arbitrary keys

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 96.6%
  • HTML 1.8%
  • CSS 1.6%