rahome
TypeScript icon, indicating that this package has built-in type declarations

0.2.8 • Public • Published

rahome

Popular data structures for writing efficient programs in JavaScript.

Badges

npm version npm issues npm license npm bundle size

tests GitHub Workflow Status GitHub issues GitHub contributors GitHub top language

Installing

This module is distributed via npm which is bundled with node and should be installed as one of your project's dependence.

npm install rahome --save

Usage

import { LinkedList } from 'rahome'
 
const list = new LinkedList()
list.add(10) // add 10 to list => [10]
list.add(20) // add 20 to list => [10] -> [20]
list.add(30) // add 20 to list => [10] -> [20] -> [30]
 
list.addFirst(5) // add 10 to list => [5] -> [10] -> [20] -> [30]
 
list.addLast(40) // add 40 to list => [5] -> [10] -> [20] -> [30] -> [40]

API Reference

Contributing

Pull requests are welcome. Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the MIT License - see the LICENSE file for details

Package Sidebar

Install

npm i rahome

Weekly Downloads

0

Version

0.2.8

License

MIT

Unpacked Size

121 kB

Total Files

20

Last publish

Collaborators

  • sagar-gavhane