
Product
Rust Support in Socket Is Now Generally Available
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.
LevelDB storage backend for Dat
npm install level-dat
var ldat = require('level-dat')
db = ldat(db) // where db is levelup instance
db.createReadStream().on('data', console.log)
In general the API is the same as the levelup api
db.put(key, value, [opts], [cb])Insert a key and value. Use opts.version = number to specify the version.
db.get(key, [opts], cb)Get a key and value and version.
db.del(key, [cb])Delete a key.
var subdb = db.subset(name)Create a subset database that will be versioned and replicated as well
db.stat(cb)Returns a digest of all rows in the database.
db.createReadStream([opts])Create a read stream to the database. Data includes the version.
db.createValueStream([opts])Only get the values.
db.createKeyStream([opts])Only get the keys.
db.createVersionStream(key, [opts])Get all stored versions of a key.
db.createWriteStream([opts])Stream data into the database. Data can include versions.
db.createChangesReadStream([opts])Get a change feed stream from the database. Set options.since = change to only get a partial stream and options.data to get the data as well.
db.createChangesWriteStream([opts])Pipe a change feed into the change write stream to replicate a database.
MIT
FAQs
LevelDB storage backend for Dat
The npm package level-dat receives a total of 9 weekly downloads. As such, level-dat popularity was classified as not popular.
We found that level-dat 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.

Product
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.

Security News
Chrome 144 introduces the Temporal API, a modern approach to date and time handling designed to fix long-standing issues with JavaScript’s Date object.

Research
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.