This package contains JavaScript implementations of common data structures with idiomatic interfaces.
JavaScript
Latest commit 4690d1a Dec 15, 2016 @marchant marchant committed on GitHub Updates version to 5.0.6
Permalink
Failed to load latest commit information.
bench Fix wrong hrtime handling Apr 11, 2013
demo Some backward compatibility breaking changes: Apr 17, 2016
listen slightly more compact code that is heavily used Nov 28, 2016
spec fixes a bug in IE11 where sets and maps would not dispatch changes wh… Jun 26, 2016
.editorconfig Create .editorconfig Feb 16, 2015
.gitignore Adding .idea to .gitignore Feb 17, 2015
.npmignore Ignore more. Sep 25, 2014
.travis.yml Disable Node.js v0.8 integration tests Apr 10, 2014
CHANGES.md Updates for v5.0.2 Jun 25, 2016
FUTURE.md Redirect users to collectionsjs.com for documentation Jun 16, 2014
LICENSE.md Fix copyright in license Jul 29, 2014
README.md Style fixes and notes Jul 10, 2014
_dict.js Changes for IE10, required to break some cyclical dependencies Jun 8, 2016
_fast-set.js Changes for IE10, required to break some cyclical dependencies Jun 8, 2016
_list.js Changes for IE10, required to break some cyclical dependencies Jun 8, 2016
_map.js Makes collection use map and set polyfill for IE11 Jun 18, 2016
_set.js Fixes an infinite loop Oct 17, 2016
checklist.csv Implement deleteAll Jul 11, 2014
collections.cat.js Version 0.1.1 Nov 7, 2012
collections.js Factor WeakMap dependency out Aug 6, 2013
collections.min.js Version 0.1.1 Nov 7, 2012
deque.js Some backward compatibility breaking changes: Apr 17, 2016
dict.js Changes for IE10, required to break some cyclical dependencies Jun 8, 2016
fast-map.js Some backward compatibility breaking changes: Apr 17, 2016
fast-set.js Changes for IE10, required to break some cyclical dependencies Jun 8, 2016
generic-collection.js Some backward compatibility breaking changes: Apr 17, 2016
generic-map.git.js Changes for IE10, required to break some cyclical dependencies Jun 8, 2016
generic-map.js fixes a bug that makes map polyfill’s set behaves differently than st… Oct 17, 2016
generic-order.js Add toJSON method to collections Jul 11, 2014
generic-set.js Some backward compatibility breaking changes: Apr 17, 2016
heap.js Some backward compatibility breaking changes: Apr 17, 2016
iterator.js Some backward compatibility breaking changes: Apr 17, 2016
lfu-map.js Some backward compatibility breaking changes: Apr 17, 2016
lfu-set.js Some backward compatibility breaking changes: Apr 17, 2016
list.js Changes for IE10, required to break some cyclical dependencies Jun 8, 2016
lru-map.js Some backward compatibility breaking changes: Apr 17, 2016
lru-set.js Some backward compatibility breaking changes: Apr 17, 2016
map.js fixes a bug in IE11 where sets and maps would not dispatch changes wh… Jun 26, 2016
minify Adjust change listener interface Nov 4, 2012
multi-map.js Some backward compatibility breaking changes: Apr 17, 2016
package.json Updates version to 5.0.6 Dec 15, 2016
set.js removes a debug log left behind, bumps version to 5.0.4 Jun 26, 2016
shim-array.js Some backward compatibility breaking changes: Apr 17, 2016
shim-function.js Function by and get Jan 22, 2013
shim-object.js Adds Object.defineEach in shim to replace a duplication of functions … Apr 21, 2016
shim-regexp.js Shim RegExp Jan 20, 2013
shim.js Shim RegExp Jan 20, 2013
sorted-array-map.js Some backward compatibility breaking changes: Apr 17, 2016
sorted-array-set.js Some backward compatibility breaking changes: Apr 17, 2016
sorted-array.js Some backward compatibility breaking changes: Apr 17, 2016
sorted-map.js Merge pull request #152 from marchant/fix#149 Jun 8, 2016
sorted-set.js Some backward compatibility breaking changes: Apr 17, 2016
tree-log.js Strict mode Oct 27, 2012
weak-map.js Some backward compatibility breaking changes: Apr 17, 2016

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