0.1.1 • Published 10 years ago
collx v0.1.1
collx
Shims for ES6 collections.
Usage
npm install collx
Under directory lib
you will find shims for Map
, Set
, WeakMap
, and WeakSet
.
require('collx/lib/map');
require('collx/lib/set');
require('collx/lib/weakmap');
require('collx/lib/weakset');
Require the collections from the package root to use the standard ES6 collections when defined otherwise fall back to the respective shims under lib
.
require('collx/map');
require('collx/set');
require('collx/weakmap');
require('collx/weakset');
License
Licensed under the AGPL-3.0.