Weak-Dictionary
A memory-safe dictionary implementation using the CoreJS WeakMap polyfill
Why?
ES6 does not contain a weak dictionary API that tracks key's:
Naturally, we will need a Dictionary implementation that allows managed key
tracking without preventing GC
in various JS runtimes.
Usage
Install:
npm install weak-dictionary
Use:
var weakDict = ;var dict = ;
Profit!