Socket
Socket
Sign inDemoInstall

rahome

Package Overview
Dependencies
1
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    rahome

Popular data structures for writing efficient programs in JavaScript


Version published
Weekly downloads
1
Maintainers
1
Install size
131 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 17 Jun 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc