Search results
8 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Safely use a JavaScript object as hash
A powerful, flexible and efficient bidirectional map implementation
A simple dictionary wrapper for JavaScript providing hashmap functionality with the added benefit of accessing keys using box and dot operators!
Map, but extended to be bidirectional. Values will stay unique by deleting previous keys. Also a 'strict' version, which throws on duplicates instead, and a 'silent' version, which ignores assignments of existing values.
- bidirectionalmap
- strictbidirectionalmap
- silentbidirectionalmap
- uniquemap
- unique value map
- two-way map
- key-value
- data structure
- bimap
- associative array
A small and simple utility for working with named parameters. (I.e., for using maps as function arguments, rather than arrays.) Inspired by optimist.
- named parameters
- named arguments
- option parser
- arguments
- function
- method
- argument
- parameter
- associative array
- validation
- defaults
Makes an auxilary tree structure to get O(m) efficient autocomplete results, (where m is the length of a search string), without use of external dependencies.<br /> The repo is holds a list of 300k english letter already formatted as tree and available fo
- tree
- trie
- autocomplete
- digital tree
- radix tree
- prefix tree
- search
- search tree
- pattern
- composite
- design pattern
- composite pattern
- hierarchical
- data structure
- View more
A Dictionary (Associative Array like) Class for ES6. Now supporting dot and bracket access through proxy, and generator/yield control flows.
A Collection (Associative Array like) Class for ES6. Now supporting dot and bracket without a proxy, and generator/yield control flows.