JavaScript Data Structures
Common data structures for JavaScript.
Data structures
Lists
- Doubly Linked Lists
Queues
- Circular Queue
Contributing
First install dependencies:
npm install -D
-
Build:
npm run build
npm run build:watch
-
Test:
npm test
npm run test:watch
-
Lint:
npm run lint
Or better yet, install a suitable eslint extension in your code editor to receive realtime feedback while coding.
-
Format:
npm run format
This project utilizes Prettier to enforce code formatting. Install a Prettier extension in your IDE to receive on-save or on-demand formatting.
Releasing
This project uses SemVer, use the npm version command to bump the appropriate version:
npm version major
npm version minor
npm version patch
These commands will create the appropriate git tag to accompany it.
After the version is tagged, release it with npm
:
npm publish