
Security News
The Next Open Source Security Race: Triage at Machine Speed
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.
In memory eventual consistant distributed data structure
npm install mortable
Mortable is for sharing data that is only valid as long as your process is alive and small enough to fit in memory (think hostnames+ports for a distributed service registry)
Data will be replicated to other nodes using protobuf messages and the scuttlebutt protocol
var mortable = require('mortable')
var table = mortable()
table.push('hello', 'world') // push world to the hello data set
console.log(table.list('hello')) // prints ['world']
var table2 = mortable()
table2.push('hello', 'mundo')
var stream = table.createStream()
stream.pipe(table2).pipe(stream) // start replicating between the two tables
setImmediate(function() {
console.log(table2.list('hello')) // will print ['world', 'mundo']
})
To replicate the data structure to other nodes use .createStream() and pipe it to a network stream
var stream = table.createStream()
// will start replicating this data structure to other nodes
streamToAnotherPeer.pipe(stream).pipe(streamToAnotherPeer)
If you want to destoy your table call table.destroy() which will remove all local values from the replicas.
If you do not call destroy and exits your process the values will be removed after a timeout (~10s)
Credits to dominictarr for making the excellent scuttlebutt module that inspired this
MIT
FAQs
In memory eventual consistant distributed data structure
The npm package mortable receives a total of 0 weekly downloads. As such, mortable popularity was classified as not popular.
We found that mortable demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
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.

Security News
gem.coop is testing registry-level dependency cooldowns to limit exposure during the brief window when malicious gems are most likely to spread.