
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
js-data-structs
Advanced tools
A small data structures and algorithms library for JavaScript.
npm i js-data-structs
https://cdn.jsdelivr.net/npm/js-data-structs/DataStructures.js
https://cdn.jsdelivr.net/npm/js-data-structs/DataStructures.min.js
Before contributing please read CONTRIBUTING.md for guidelines.
In addition to the guidelines mentioned in CONTRIBUTING.md
there are some additional things to keep in mind while raising pull requests. Before your pull request can be accepted there are some checks that have to pass. To run these checks localy-
npm run prepare
to compile with Rollup and Babelnpm run format
to format with Prettiernpm run lint
to check for linting errorsnpm test
to run the Jest unit testsNew algorithms or data structures are added to ./src/
and you also have to add test cases for all functions implemented in the ./test/
folder.
Minified version
Linked List
Heapsort
Suffix trees
More Graph algorithms
LZW
FAQs
A library of data structures and algorithms
The npm package js-data-structs receives a total of 273 weekly downloads. As such, js-data-structs popularity was classified as not popular.
We found that js-data-structs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.