Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
This package bundles the [cbor](../cbor) package for easy use on the web. The following packages are bundled in as well, to reduce the degree of difficulty:
This package bundles the cbor package for easy use on the web. The following packages are bundled in as well, to reduce the degree of difficulty:
In addition, if you want support for big decimal and big float numbers, you'll
need your own version of
bignumber.js. Decoding c4820a0a
(hex) will give you a BigNumber if you have everything installed correctly.
You can see cbor-web
in action on the web here.
cbor
property on the
window object:<script src='https://unpkg.com/bignumber.js'></script> <!-- optional -->
<script src='https://unpkg.com/cbor-web'></script>
require('cbor-web')
from node.js, but I wouldn't recommend that unless you're trying to use the exact same paths for backend and frontend codebases, for example.import cbor from 'cbor-web'
in either node or in some web contexts. Caveats to using in node are the same as above, but someimes you might really want an ES6 module, and be willing to deal with the downsides. Note that as soon as Node 10 is no longer supported, the make cbor
package will work toward becoming a native ES6 module.FAQs
This package bundles the [cbor](../cbor) package for easy use on the web. The following packages are bundled in as well, to reduce the degree of difficulty:
The npm package cbor-web receives a total of 15,701 weekly downloads. As such, cbor-web popularity was classified as popular.
We found that cbor-web demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.