
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.
random-access-page-files
Advanced tools
An abstract-random-access backend that writes to fixed size page files instead of a single file. Useful for sparse data.
An abstract-random-access backend that writes to fixed size page files instead of a single file. Useful for sparse data.
npm install random-access-page-files
var pages = require('random-access-page-files')
var storage = pages('a-folder', {
pageSize: 5 * 1024 * 1024 // use 5mb pages
})
// will write use single page file < 5mb
storage.write(222852525, new Buffer('hello'), function (err) {
if (err) throw err
storage.read(222852525, 5, function (err, buf) {
if (err) throw err
console.log(buf)
})
})
var storage = pages(folder, [options])Create a new storage provider. Options include:
{
pageSize: 5 * 1024 * 1024, // how big are the page files?
limit: 16 // how many open files at max?
}
MIT
FAQs
An abstract-random-access backend that writes to fixed size page files instead of a single file. Useful for sparse data.
We found that random-access-page-files 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.