Skip to content

thomasstjerne/js_cols

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js_cols Build  Status Coverage Status

js_cols is a library of powerful collection data structures for JavaScript. js_cols provides Lists, FIFO queues, LIFO Stacks, Priority Queues, sorted and unsorted Sets and Maps, Bags (Multi Sets) and Multi Maps.

The project adds functionality to the JavaScript language, similar to that of java.util (for Java) and the C5 Library (for C#). The Library stands alone and is easy integratable in all kinds of JavaScript projects.

Quick start

Browser based applications:

  • Install js_cols with Bower.
$ bower install js_cols --save
  • Include the library in your index.html:
<script src="bower_components/js_cols/dist/js_cols.min.js"></script>

Server applications:

  • Install js_cols with NPM.
$ npm install js_cols --save
  • Require the module in your app:
var js_cols = require('js_cols');

Documentation

Example usage

The js_cols library was designed and written by Thomas Stjernegaard Jeppesen, 2010