Research
Security News
Malicious npm Package Typosquats react-login-page to Deploy Keylogger
Socket researchers unpack a typosquatting package with malicious code that logs keystrokes and exfiltrates sensitive data to a remote server.
ipfs-utils
Advanced tools
Readme
This package serves as a central repository for shared logic and dependencies for all IPFS packages, using
ipfs-utils
helps to easily re-use small scoped blocks of logic across all the js core interface implementations and also as a dependency proxy (thinkaegir
for domain logic dependencies).
ipfs-utils
aims to provide single function default export per file (with a few exceptions) scoped in 3 general categories:
General use and Data structs wrangling should try to be just re-exports of community packages.
The IPFS ecosystem has lots of repos with it comes several problems like:
These problems are the motivation for this package, having shared logic in this package avoids creating cyclic dependencies, centralizes common use modules/functions (exactly like aegir does for the tooling), semantic versioning for 3rd party dependencies is handled in one single place (a good example is going from streams 2 to 3) and maintainers should only care about having ipfs-utils
updated.
$ npm install --save ipfs-utils
Each function should be imported directly.
const validateAddInput = require('ipfs-utils/src/files/add-input-validation')
validateAddInput(Buffer.from('test'))
// true
Contributions welcome. Please check out the issues.
Check out our contributing document for more information on how we work, and about contributing in general. Please be aware that all interactions related to this repo are subject to the IPFS Code of Conduct.
MIT © Protocol Labs Inc.
FAQs
Unknown package
We found that ipfs-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
Research
Security News
Socket researchers unpack a typosquatting package with malicious code that logs keystrokes and exfiltrates sensitive data to a remote server.
Security News
The JavaScript community has launched the e18e initiative to improve ecosystem performance by cleaning up dependency trees, speeding up critical parts of the ecosystem, and documenting lighter alternatives to established tools.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.