
Security News
Official Go SDK for MCP in Development, Stable Release Expected in August
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
random-access-idb-mutable-file
Advanced tools
random-access-storage provider via non-standard IDBMutableFile API
random-access storage layer over IDBMutableFile, which is non-standard IndexedDB extension in Gecko to provide virtual file system API with-in the IndexedDB.
This library will only work in Firefox (unless other browsers implement IDBMutableFile API) and it's mostly targeted at WebExtensions. It mostly amis to be a drop-in replacement for random-access-file. It is also an alternative to random-access-idb that is able to avoid loading all of the file content for random read / writes at the expanse of limited runtime suport.
import RandomAccess from "random-access-idb-mutable-file"
const main = async (filename, options) => {
const randomAccessFile = await RandomAccess.mount()
const file = randomAccessFile(filename, options)
file.write(10, Buffer.from("hello"), error => {
// write a buffer to offset 10
file.read(10, 5, (error, buffer) => {
console.log(buffer) // read 5 bytes from offset 10
file.close(() => {
console.log("file is closed")
})
})
})
}
npm install random-access-idb-mutable-file
FAQs
random-access-storage provider via non-standard IDBMutableFile API
The npm package random-access-idb-mutable-file receives a total of 19,837 weekly downloads. As such, random-access-idb-mutable-file popularity was classified as popular.
We found that random-access-idb-mutable-file 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
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
Security News
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.