Detalhes do pacote

js_cols

Data structures for JavaScript

data structures, collections

readme (leia-me)

js_cols [![Build Status] (https://travis-ci.org/thomasstjerne/js_cols.svg?branch=master)] (https://travis-ci.org/thomasstjerne/js_cols/) 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

[license] (https://github.com/thomasstjerne/js_cols/blob/master/LICENSE)

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