Socket
Socket
Sign inDemoInstall

@lisba/data-structures-js

Package Overview
Dependencies
0
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @lisba/data-structures-js

Common data structures implementation in Javascript.


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
75.7 kB
Created
Weekly downloads
 

Readme

Source

@lisba/data-structures-js

npm GitHub last commit npm NPM

Common data structures implementation in Javascript.
  • Contents

Installation

yarn: yarn add @lisba/data-structures-js

npm: npm install @lisba/data-structures-js

Usage

import {
  Stack,
  Queue,
  HashTable,
  MySinglyLinkedList,
  MyDoublyLinkedList,
  BinarySearchTree,
  UndirectedGraph,
} from '@lisba/data-structures-js';

const myStack = new Stack();
const myQueue = new Queue();
const myHashTable = new HashTable(50);
const mySinglyLinkedList = new MySinglyLinkedList(1);
const myDoublyLinkedList = new MyDoublyLinkedList(1);
const myTree = new BinarySearchTree();
const myGraph = new UndirectedGraph();

Collaborate

In order to collaborate with the proyect you need to:

  1. Fork the repo.
  2. Clone the repo to work locally with git clone repo-url.
  3. Install dependencies with yarn install.
  4. Develop suggested changes in a new branch (make sure you are using the prettier config, you can run yarn format or install the prettier extension if you are using vsc editor to format on save).
  5. Run yarn build and yarn start to verify your changes doesn't has errors.
  6. Push your changes to your repo git push remote-repo branch-name.
  7. Make the pull request.

License

The MIT License. Full License here

Keywords

FAQs

Last updated on 12 May 2022

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