1.0.3 • Published 7 months ago

@radatek/microdb v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Micro Database engine

Plain file storage embedded database engine with MongoDB API

Features:

  • dropin replacement for MongoDB
  • non blocking plain file store
  • no dependencies

Usage example:

const db = new MicroDB('microdb://tmp')
const col = await db.collection('col')

await col.insertOne({name: 'test', score: 100})
await col.updateOne({score: {$gt: 50}}, {comment: 'Best score'})
const documents = await col.find({}).toArray())
await col.deleteOne({name: 'test'})
1.0.3

7 months ago

1.0.2

7 months ago