Gathering detailed insights and metrics for @napi-rs/snappy-linux-x64-musl
Gathering detailed insights and metrics for @napi-rs/snappy-linux-x64-musl
Gathering detailed insights and metrics for @napi-rs/snappy-linux-x64-musl
Gathering detailed insights and metrics for @napi-rs/snappy-linux-x64-musl
@napi-rs/nice-linux-x64-musl
https://linux.die.net/man/2/nice binding for Node.js
@napi-rs/snappy-linux-x64-gnu
Fastest Snappy compression library in Node.js
@napi-rs/snappy-linux-arm64-musl
Fastest Snappy compression library in Node.js
@napi-rs/simple-git-linux-x64-musl
This is the **x86_64-unknown-linux-musl** binary for `@napi-rs/simple-git`
Fastest Snappy compression library in Node.js
npm install @napi-rs/snappy-linux-x64-musl
97.9
Supply Chain
36.2
Quality
77.9
Maintenance
100
Vulnerability
100
License
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
165 Stars
251 Commits
10 Forks
4 Watching
2 Branches
4 Contributors
Updated on 25 Nov 2024
Rust (50.01%)
TypeScript (34.86%)
JavaScript (14.57%)
Shell (0.56%)
Cumulative downloads
Total Downloads
Last day
-22.7%
23,376
Compared to previous day
Last week
-18.6%
136,939
Compared to previous week
Last month
0.4%
653,996
Compared to previous month
Last year
38.6%
6,579,141
Compared to previous year
No dependencies detected.
snappy
!!! For snappy@6.x
and below, please go to node-snappy
.
More background about the 6-7 changes, please read this, Thanks @kesla .
🚀 Help me to become a full-time open-source developer by sponsoring me on Github
Fastest Snappy compression library in Node.js, powered by napi-rs and rust-snappy.
For small size data, snappyjs is faster, and it support browser. But it doesn't have async API, which is important for Node.js program.
yarn add snappy
node12 | node14 | node16 | node18 | |
---|---|---|---|---|
Windows x64 | ✓ | ✓ | ✓ | ✓ |
Windows x32 | ✓ | ✓ | ✓ | ✓ |
Windows arm64 | ✓ | ✓ | ✓ | ✓ |
macOS x64 | ✓ | ✓ | ✓ | ✓ |
macOS arm64 | ✓ | ✓ | ✓ | ✓ |
Linux x64 gnu | ✓ | ✓ | ✓ | ✓ |
Linux x64 musl | ✓ | ✓ | ✓ | ✓ |
Linux arm gnu | ✓ | ✓ | ✓ | ✓ |
Linux arm64 gnu | ✓ | ✓ | ✓ | ✓ |
Linux arm64 musl | ✓ | ✓ | ✓ | ✓ |
Android arm64 | ✓ | ✓ | ✓ | ✓ |
Android armv7 | ✓ | ✓ | ✓ | ✓ |
FreeBSD x64 | ✓ | ✓ | ✓ | ✓ |
1export function compressSync(input: Buffer | string | ArrayBuffer | Uint8Array): Buffer 2export function compress(input: Buffer | string | ArrayBuffer | Uint8Array): Promise<Buffer> 3export function uncompressSync(compressed: Buffer): Buffer 4export function uncompress(compressed: Buffer): Promise<Buffer>
OS: Windows 11 x86_64
Host: Micro-Star International Co., Ltd. MS-7C35
Kernel: 10.0.22000
Terminal: Windows Terminal
CPU: AMD Ryzen 9 5950X (32) @ 3.400GHz
Memory: 32688MiB
Running "Compress" suite...
Progress: 100%
snappy:
4 220 ops/s, ±0.66% | fastest
snappy-v6:
2 018 ops/s, ±0.84% | 52.18% slower
gzip:
233 ops/s, ±0.52% | slowest, 94.48% slower
deflate:
235 ops/s, ±0.45% | 94.43% slower
brotli:
7 ops/s, ±0.51% | slowest, 99.85% slower
Finished 4 cases!
Fastest: snappy
Slowest: brotli
Running "Decompress" suite...
Progress: 100%
snappy:
8 528 ops/s, ±1.03% | fastest
snappy-v6:
6 357 ops/s, ±1.76% | 25.46% slower
gzip:
1 406 ops/s, ±1.80% | slowest, 83.51% slower
deflate:
1 435 ops/s, ±1.88% | 83.17% slower
brotli:
1 208 ops/s, ±1.50% | slowest, 86.99% slower
Finished 4 cases!
Fastest: snappy
Slowest: brotli
No vulnerabilities found.
Reason
17 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
1 existing vulnerabilities detected
Details
Reason
Found 0/16 approved changesets -- 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
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
Project has not signed or included provenance with any releases.
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-25
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 More