common data structure implementation in javascript
$ npm install --save jal
$ bower install --save jal
$ npm install jal
//Then require it into any module.
var jal = require('jal');
var linkedList = new jal.SingleLinkedList();
linkedlist.add(1);
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.
- Binary Tree
- Double LinkedList
npm test
For bugs and feature requests, please create an issue.
MIT © Yashprit