0.0.1 • Published 7 years ago

jal v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

jal NPM version Build Status Dev Dependency Status

common data structure implementation in javascript

Install

npm

NPM

$ npm install --save jal

Bower

$ bower install --save jal

Getting started

npm

$ npm install jal
//Then require it into any module.

var jal = require('jal');

var linkedList = new jal.SingleLinkedList();
linkedlist.add(1);

Browser

To use jal from a browser, download dist/jal.{version}.min.js or use a bower

$ bower install jal

Then, add it as a script tag to your page:

<script src="jal.js"></script>
<script>
  var linkedlist = new JAL.SingleLinkedList();
  linkedlist.add(2);
</script>

If you're using browserify, the jal npm module also works from the browser.

What's been implemented:

  • Stack
  • Single LinkedList

In progress

  • Binary Tree
  • Double LinkedList

Run Test

npm test

Contribute or Report Issue

For bugs and feature requests, please create an issue.

License

MIT © Yashprit