Gathering detailed insights and metrics for @js-sdsl/queue
Gathering detailed insights and metrics for @js-sdsl/queue
Gathering detailed insights and metrics for @js-sdsl/queue
Gathering detailed insights and metrics for @js-sdsl/queue
npm install @js-sdsl/queue
Typescript
Module System
72.2
Supply Chain
99.4
Quality
77.9
Maintenance
100
Vulnerability
100
License
TypeScript (99.93%)
Shell (0.07%)
Total Downloads
7,176
Last Day
36
Last Week
152
Last Month
563
Last Year
5,313
768 Stars
501 Commits
61 Forks
24 Watching
10 Branches
4 Contributors
Latest Version
4.4.0
Package Id
@js-sdsl/queue@4.4.0
Unpacked Size
113.91 kB
Size
24.57 kB
File Count
19
Publised On
22 Mar 2023
Cumulative downloads
Total Downloads
Last day
800%
36
Compared to previous day
Last week
23.6%
152
Compared to previous week
Last month
33.7%
563
Compared to previous month
Last year
289.2%
5,313
Compared to previous year
73
A javascript standard data structure library which benchmark against C++ STL
English | 简体中文
length
directly.unshift
or getting elements by index.We are benchmarking against other popular data structure libraries. In some ways we're better than the best library. See benchmark.
IE / Edge | Firefox | Chrome | Safari | Opera | NodeJs |
---|---|---|---|---|---|
Edge 12 | 36 | 49 | 10 | 36 | 10 |
Download directly by cdn:
Or install js-sdsl using npm:
1npm install js-sdsl
Or you can download the isolation packages containing only the containers you want:
You can visit our official website to get more information.
To help you have a better use, we also provide this API document.
For previous versions of the documentation, please visit:
https://js-sdsl.org/js-sdsl/previous/v${version}/index.html
E.g.
https://js-sdsl.org/js-sdsl/previous/v4.1.5/index.html
1<script src="https://unpkg.com/js-sdsl/dist/umd/js-sdsl.min.js"></script> 2<script> 3 const { 4 Vector, 5 Stack, 6 Queue, 7 LinkList, 8 Deque, 9 PriorityQueue, 10 OrderedSet, 11 OrderedMap, 12 HashSet, 13 HashMap 14 } = sdsl; 15 const myOrderedMap = new OrderedMap(); 16 myOrderedMap.setElement(1, 2); 17 console.log(myOrderedMap.getElementByKey(1)); // 2 18</script>
1// esModule 2import { OrderedMap } from 'js-sdsl'; 3// commonJs 4const { OrderedMap } = require('js-sdsl'); 5const myOrderedMap = new OrderedMap(); 6myOrderedMap.setElement(1, 2); 7console.log(myOrderedMap.getElementByKey(1)); // 2
We use karma and mocha frame to do unit tests and synchronize to coveralls. You can run yarn test:unit
command to reproduce it.
We tested most of the functions for efficiency. You can go to gh-pages/performance.md
to see our running results or reproduce it with yarn test:performance
command.
You can also visit here to get the result.
Use Gitpod, a free online dev environment for GitHub.
Or clone locally:
1$ git clone https://github.com/js-sdsl/js-sdsl.git 2$ cd js-sdsl 3$ npm install 4$ npm run dev # development mode
Then you can see the output in dist/cjs
folder.
Feel free to dive in! Open an issue or submit PRs. It may be helpful to read the Contributor Guide.
Thanks goes to these wonderful people:
Takatoshi Kondo 💻 ⚠️ | noname 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!
The special thanks to these sponsors or backers because they provided support at a very early stage:
Thanks also give to these sponsors or backers:
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
SAST tool detected but not run on all commits
Details
Reason
Found 8/29 approved changesets -- score normalized to 2
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
16 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-12-16
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn Morejs-sdsl
javascript standard data structure library which benchmark against C++ STL
@js-sdsl/priority-queue
javascript standard data structure library which benchmark against C++ STL
@js-sdsl/vector
javascript standard data structure library which benchmark against C++ STL
@js-sdsl/deque
javascript standard data structure library which benchmark against C++ STL