bi-directional-map
Simple bi directional map implementation using 2 es6 maps
Simple bi directional map implementation using 2 es6 maps
Bi Directional Map ( BIDI Map ) for NodeJS
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.