
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
fs-key-value
Advanced tools
This module provides a simple key value data store using only the file system. It makes use of file locking to allow safe operation in a multiple process environment without the overhead of a separate database server.
$ npm install fs-key-value
var FsKeyValue = new require('fs-key-value')
var db = new FsKeyValue('./mydb')
var cluster = require('cluster')
if (cluster.isMaster) {
for (var i = 0; i < 8; i++) {
cluster.fork()
}
} else {
var id = cluster.worker.id % 2
db.put('hoopla' + id, {'msg': 'ballyhoo ' + cluster.worker.id})
var data = db.get('hoopla' + id)
if (data != undefined) {
console.log(data.msg)
}
db.del('hoopla' + id)
cluster.worker.kill()
}
FAQs
Key value data store using the filesystem
The npm package fs-key-value receives a total of 11 weekly downloads. As such, fs-key-value popularity was classified as not popular.
We found that fs-key-value demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.