Gathering detailed insights and metrics for crc32-stream
Gathering detailed insights and metrics for crc32-stream
Gathering detailed insights and metrics for crc32-stream
Gathering detailed insights and metrics for crc32-stream
a streaming CRC32 checksumer (now with deflate support)
npm install crc32-stream
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (100%)
Total Downloads
1,776,103,420
Last Day
565,959
Last Week
11,482,762
Last Month
49,576,292
Last Year
510,356,026
MIT License
35 Stars
159 Commits
13 Forks
4 Watchers
9 Branches
8 Contributors
Updated on Jun 11, 2025
Latest Version
7.0.1
Package Id
crc32-stream@7.0.1
Unpacked Size
6.00 kB
Size
2.40 kB
File Count
6
NPM Version
10.8.2
Node Version
20.17.0
Published on
Oct 14, 2024
Cumulative downloads
Total Downloads
Last Day
5%
565,959
Compared to previous day
Last Week
-6.7%
11,482,762
Compared to previous week
Last Month
3%
49,576,292
Compared to previous month
Last Year
34.7%
510,356,026
Compared to previous year
2
crc32-stream is a streaming CRC32 checksumer. It uses the crc module behind the scenes to reliably handle binary data and fancy character sets. Data is passed through untouched.
1npm install crc32-stream --save
You can also use npm install https://github.com/archiverjs/node-crc32-stream/archive/master.tar.gz
to test upcoming versions.
Inherits Transform Stream options and methods.
1import { CRC32Stream } from "crc32-stream"; 2 3const source = fs.createReadStream("file.txt"); 4const checksum = new CRC32Stream(); 5 6checksum.on("end", function (err) { 7 // do something with checksum.digest() here 8}); 9 10// either pipe it 11source.pipe(checksum); 12 13// or write it 14checksum.write("string"); 15checksum.end();
Inherits zlib.DeflateRaw options and methods.
1import { DeflateCRC32Stream } from "crc32-stream"; 2 3const source = fs.createReadStream("file.txt"); 4const checksum = new DeflateCRC32Stream(); 5 6checksum.on("end", function (err) { 7 // do something with checksum.digest() here 8}); 9 10// either pipe it 11source.pipe(checksum); 12 13// or write it 14checksum.write("string"); 15checksum.end();
Returns the checksum digest in unsigned form.
Returns the hexadecimal representation of the checksum digest. (ie E81722F0)
Returns the raw size/length of passed-through data.
If compressed
is true
, it returns compressed length instead. (DeflateCRC32Stream)
No vulnerabilities found.
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
dependency not pinned by hash detected -- score normalized to 5
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/14 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-06-30
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