
Security News
OpenClaw Skill Marketplace Emerges as Active Malware Vector
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.
hypercore-archiver
Advanced tools
Easily archive multiple hypercores or hyperdrives
var archiver = require('hypercore-archiver')
var hypercore = require('hypercore')
var ar = archiver('./my-archiver') // also supports passing in a storage provider
var feed = hypercore('./my-feed')
feed.on('ready', function () {
ar.add(feed.key, function (err) {
console.log('will now archive the feed')
})
})
ar.on('sync', function (feed) {
console.log('feed is synced', feed.key)
})
// setup replication
var stream = ar.replicate()
stream.pipe(feed.replicate({live: true})).pipe(stream)
feed.append(['hello', 'world'])
var ar = archiver(storage, [key], [options])Create a new archvier. storage can be a file system path or a storage provider like random-access-memory.
If this archiver is a clone of another archiver pass the changes feed key as the 2nd argument.
Options include
{
sparse: false // set to true to only archive blocks you request
}
ar.add(key, [callback])Add a new hypercore or hyperdrive key to be archived.
ar.remove(key, [callback])Remove a key.
ar.list(callback)List all hypercores and hyperdrives being archived.
ar.get(key, callback)Retrieve the feed being archived. If the key points to a hyperdrive the callback is called with (err, metadataFeed, contentFeed)
ar.changesA changes feed containing the archiver state. Pass the changes feed key to another hypercore archiver to replicate the archiver and all feeds
var stream = ar.replicate([options])Create a replication stream. Per defaults the archiver will replicate any feed the remote asks for.
To have the archiver ask to replicate one pass in {key: feedKey} as an option.
ar.on('add', feed)Emitted when a feed is being added
Emitted when a feed is being removed
ar.on('sync', feed)Emitted when a feed has been fully synced
ar.on('download', feed, index, data, peer)Emitted when the archiver downloads a block of data
ar.on('upload', feed, index, data, peer)Emitted when the archiver uploads a block of data
ar.on('ready')Emitted when all internal state has been loaded (the changes feed will be set). You do not have to wait for this event before calling any async function.
The archiver comes with a network swarm as well. This will make the archiver replicate over the internet and local network. To use it do:
var swarm = require('hypercore-archiver/swarm')
swarm(archiver)
MIT
FAQs
Easily archive multiple hypercores or hyperdrives
The npm package hypercore-archiver receives a total of 23 weekly downloads. As such, hypercore-archiver popularity was classified as not popular.
We found that hypercore-archiver 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.

Security News
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.

Security News
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.

Research
/Security News
Malicious dYdX client packages were published to npm and PyPI after a maintainer compromise, enabling wallet credential theft and remote code execution.