
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
npm install filexdb
import FileXdb from 'filexdb'
// Initiate database
const db = new FileXdb('filexdb/data/filex.db')
// Create collection
const User = await db.collection('user')
// Start using database
const user = await User.insertOne({ name: "Sam", email: 'sam@codingsamrat.com' })
filexdb.collection(collectionName)
filexdb.listCollection()
await Collection.find(query, option)
await Collection.findOne(query)
await Collection.findById(_id)
await Collection.create(document)
await Collection.insertOne(document)
await Collection.insertMany(documents)
await Collection.deleteOne(query)
await Collection.deleteMany(query)
await Collection.findByIdAndDelete(_id)
await Collection.updateOne(query, payload, option)
await Collection.updateMany(query, payload)
await Collection.findByIdAndUpdate(_if, payload, option)
await Collection.export()
await Collection.count()
await Collection.drop()
await Collection.rename()
FileXdb is in Beta stage. Currently we have above features only. We will come back to you with other advanced features soon.
You may also contribute in this journey.
Thank you for investing your time in contributing to our project! Whether it's a bug report, new feature, correction, or additional documentation, we greatly value feedback and contributions from our community. Any contribution you make will be reflected on github.com/CodingSamrat/FileXdb.js✨.
Contributions to FileXdb are welcome! Here's how to get started:
FAQs
A lightweight local NoSQL database
We found that qjs-db demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers 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.

Research
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.