Common data structures implementation in Javascript.
npm install @lisba/data-structures-js!npm
!GitHub last commit
!npm
!NPM
#### Common data structures implementation in Javascript.
- #### Contents
- Installation
- Usage
- Collaborate
- License
yarn: yarn add @lisba/data-structures-js
npm: npm install @lisba/data-structures-js
``js
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();
`
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.yarn install
3. Install dependencies with .yarn format
4. Develop suggested changes in a new branch (make sure you are using the prettier config, you can run or install the prettier extension if you are using vsc editor to format on save).yarn build
5. Run and yarn start to verify your changes doesn't has errors.git push remote-repo branch-name`.
6. Push your changes to your repo
7. Make the pull request.
The MIT License. Full License here