
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
@erebos/bzz
Advanced tools
Core Swarm (BZZ) APIs interactions.
Extended by @erebos/bzz-browser, @erebos/bzz-node or @erebos/bzz-react-native for additional platform-specific APIs.
Use @erebos/bzz-feed to interact with Swarm feeds.
yarn add @erebos/bzz
See the library documentation website.
MIT
v0.13.0 (2020-01-16)
bzz-related packages have been refactored, the @erebos/api-bzz-base, @erebos/api-bzz-browser and @erebos/api-bzz-node packages are discontinued and should be replaced by @erebos/bzz, @erebos/bzz-browser, @erebos/bzz-node, @erebos/bzz-feed and @erebos/bzz-fs depending on the use cases, see below.@erebos/api-pss package has been renamed to @erebos/pss for consistency with the bzz-related packages.@erebos/timeline package, the decode option has been removed from TimelineReaderConfig and the encode option from TimelineWriterConfig, instead the read() and write() methods could be overwritten to cover the use case.createHex() function has been removed from @erebos/hex, Hex.from() should be used instead.@erebos/feed-list and @erebos/timeline packages classes now need to be injected a BzzFeed instance.One goal for Erebos has been to stay quite low-level, at least for the core packages interacting with Swarm.
As the bzz-related packages have been growing over the past releases, it's been time to reconsider how to best organize them:
@erebos/hex, @erebos/keccak256 and rxjs that can be an additional burden for apps that don't need feeds, so all the feed-related methods have been extracted to the @erebos/bzz-feed package.@erebos/api-bzz-node provided additional methods to interact with the file system. These methods are now provided by the dedicated @erebos/bzz-fs package.@erebos/bzz package can now be used directly in browsers. However, it does not provide the downloadDirectory() and uploadDirectory() methods added in the @erebos/bzz-browser and @erebos/bzz-node packages.So what package should you use?
@erebos/bzz-nodedownloadDirectory() or uploadDirectory() method: @erebos/bzz-browser@erebos/bzz@erebos/bzz-react-native@erebos/bzz as needed@erebos/bzzIf you need to interact with feeds, use @erebos/bzz-feed.
If you want to interact with the file sytem when using node, the @erebos/bzz-fs package provides the utility methods previously implemented in @erebos/api-bzz-node.
The @erebos/doc-sync package has been added, allowing to synchronize JSON documents.
FAQs
Core Bzz API
We found that @erebos/bzz demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.