JSPM

  • Created
  • Published
  • Downloads 24264
  • Score
    100M100P100Q142147F

data structures with idiomatic JavaScript collection interfaces

Package Exports

  • collections/deque
  • collections/dict
  • collections/dict.js
  • collections/fast-map
  • collections/fast-set
  • collections/fast-set.js
  • collections/generic-collection
  • collections/heap
  • collections/iterator
  • collections/lfu-map
  • collections/list
  • collections/listen/array-changes
  • collections/listen/property-changes
  • collections/lru-map
  • collections/map
  • collections/multi-map
  • collections/set
  • collections/set.js
  • collections/shim
  • collections/shim-array
  • collections/shim-object
  • collections/shim-regexp
  • collections/sorted-array
  • collections/sorted-array-map
  • collections/sorted-array-set
  • collections/sorted-array-set.js
  • collections/sorted-array.js
  • collections/sorted-map
  • collections/sorted-set
  • collections/sorted-set.js
  • collections/weak-map

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (collections) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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