Skip to content

yashprit/jal

Repository files navigation

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:

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

About

🚰 Data Structure in JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published