jal
v0.0.1
Published
common data structure implementation in javascript
Downloads
1
Maintainers
Readme
jal
common data structure implementation in javascript
Install
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