Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
JavaScript collections with idiomatic interfaces
JavaScript HTML
Failed to load latest commit information.
bench Fix wrong hrtime handling
demo Factor out observables
spec Fix lingering change listener code
.gitignore Improve iterator test coverage
.npmignore Ignore files that shouldn't be included in published package
.travis.yml Disable Node.js v0.8 integration tests
CHANGES.md Update change log and checklist for 1.1.0
LICENSE.md Add README and LICENSE
README.md Eliminate shims
checklist.csv Update change log and checklist for 1.1.0
copy.js Eliminate shims
deque.js Factor out observables
dict.js Factor out observables
fast-map.js Factor out observables
fast-set.js Factor out observables
generic-collection.js Eliminate shims
generic-map.js Factor out observables
generic-order.js Eliminate shims
generic-set.js Eliminate shims
heap.js Factor out observables
iterator.js Relax coupling to global shims.
lfu-map.js Factor out observables
lfu-set.js Factor out observables
list.js Factor out observables
lru-map.js Factor out observables
lru-set.js Factor out observables
map.js Factor out observables
multi-map.js Hack around MontageJS serialization
operators.js Eliminate shims
package.json
set.js Factor out observables
sorted-array-map.js Factor out observables
sorted-array-set.js Factor out observables
sorted-array.js Fix regression from prior fix
sorted-map.js Factor out observables
sorted-set.js Factor out observables
tree-log.js Strict mode
weak-map.js Factor WeakMap dependency out

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. :warning: 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

Something went wrong with that request. Please try again.