Gathering detailed insights and metrics for @holochain/n-bch-rs
Gathering detailed insights and metrics for @holochain/n-bch-rs
Gathering detailed insights and metrics for @holochain/n-bch-rs
Gathering detailed insights and metrics for @holochain/n-bch-rs
nodejs bindings for rust bch reed-solomon library https://crates.io/crates/reed-solomon
npm install @holochain/n-bch-rs
Typescript
Module System
Node Version
NPM Version
JavaScript (83%)
Rust (11.26%)
Makefile (3.84%)
Shell (1.9%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
7 Stars
10 Commits
1 Forks
19 Watchers
2 Branches
13 Contributors
Updated on Jan 15, 2025
Latest Version
0.0.4
Package Id
@holochain/n-bch-rs@0.0.4
Unpacked Size
48.97 kB
Size
20.46 kB
File Count
8
NPM Version
6.4.1
Node Version
8.14.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
nodejs bindings for rust bch reed-solomon library https://crates.io/crates/reed-solomon
1const { Encoder, Decoder } = require('@holochain/n-bch-rs') 2 3const enc = new Encoder(5) 4const dec = new Decoder(5) 5 6const res = enc.encode(Buffer.from([1, 2, 3])) 7 8// corrupt 9res.writeUInt8(0, 0) 10 11dec.is_corrupted(res) // true 12 13const fixed = dec.correct(res) // 1, 2, 3, ...parity bytes
Uses rust's https://crates.io/crates/wasm-bindgen to generate webassembly. Currently only targeting nodejs.
To build:
1# make sure you are using nightly rust 2rustup default nightly 3 4# install the wasm-bindgen commandline tool 5cargo install wasm-bindgen-cli 6 7# enter the rust directory 8cd rust 9 10# run the build script 11./build.sh
No vulnerabilities found.
Reason
binaries present in source code
Details
Reason
Found 1/5 approved changesets -- score normalized to 2
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is archived
Details
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
20 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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