Gathering detailed insights and metrics for cbor-bigdecimal
Gathering detailed insights and metrics for cbor-bigdecimal
Gathering detailed insights and metrics for cbor-bigdecimal
Gathering detailed insights and metrics for cbor-bigdecimal
Encode and decode CBOR documents, with both easy mode, streaming mode, and SAX-style evented mode.
npm install cbor-bigdecimal
Typescript
Module System
Min. Node Version
Node Version
NPM Version
68.4
Supply Chain
78.5
Quality
83
Maintenance
100
Vulnerability
100
License
JavaScript (96.73%)
HTML (2.64%)
CSS (0.54%)
Dockerfile (0.09%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
365 Stars
601 Commits
73 Forks
7 Watchers
6 Branches
15 Contributors
Updated on Jun 30, 2025
Latest Version
10.0.9
Package Id
cbor-bigdecimal@10.0.9
Unpacked Size
5.22 kB
Size
2.64 kB
File Count
5
NPM Version
10.9.2
Node Version
22.16.0
Published on
Jun 30, 2025
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
1
This package adds support for BigDecimal and BigFloats to the cbor package, relying on bignumber.js.
NOTE
All new users and most existing users of this library should move to the cbor2 library. It is where most maintenance and support and all new features are happening. cbor2 has support for JavaScript bigints enabled by default.
Only catastrophic bugs will be fixed in this library going forward.
1npm install cbor cbor-bignumber
Before trying to encode or decode:
1const cbor = require('cbor'); 2const bdec = require('cbor-bigdecimal'); 3bdec(cbor);
If you want to remove the added encoders and decoders:
1cbor.reset();
If you need to access the same BigNumber class that cbor-bigdecimal
is (e.g.
because the class has been mangled by your compressor), it is available as
bdec.BigNumber
.
Decoding supports the following CBOR tag numbers:
Tag | Generated Type |
---|---|
4 | bignumber |
5 | bignumber |
No vulnerabilities found.
Reason
21 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
packaging workflow detected
Details
Reason
0 existing vulnerabilities detected
Reason
Found 0/17 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
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
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