JavaScript collections with idiomatic interfaces
JavaScript HTML
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bench
demo
spec
.gitignore
.npmignore
.travis.yml
CHANGES.md
LICENSE.md
README.md
checklist.csv
copy.js
deque.js
dict.js
fast-map.js
fast-set.js
generic-collection.js
generic-map.js
generic-order.js
generic-set.js
heap.js
iterator.js
lfu-map.js
lfu-set.js
list.js
lru-map.js
lru-set.js
map.js
multi-map.js
operators.js
package.json
set.js
sorted-array-map.js
sorted-array-set.js
sorted-array.js
sorted-map.js
sorted-set.js
tree-log.js
weak-map.js

README.md

Build Status

Collections

This package contains JavaScript implementations of common data structures with idiomatic iterfaces, including extensions for Array and Object.

You can use these Node Packaged Modules with Node.js, Browserify, Mr, or any compatible CommonJS module loader. Using a module loader or bundler when using Collections in web browsers has the advantage of only incorporating the modules you need. However, you can just embed <script src="collections/collections.min.js"> and all of the collections will be introduced as globals. ⚠️ require("collections") is not supported.

npm install collections --save

Documentation can be found at http://collectionsjs.com which in turn can be updated at https://github.com/montagejs/collectionsjs.com.

Analytics