π₯ I'm super proud to present my project WiseJSON!
This is a blazing-fast embedded JSON database for Node.js. It's grown from a simple engine to a robust local NoSQL powerhouse. If you need a lightweight, safe, and dependency-free database for local storage, caching, or logs β this is it.
Why is WiseJSON special?
If you're looking for a local JSON engine that:
β
Inserts 10,000+ documents in seconds
β‘ Handles batch inserts in ~300ms
π‘ Survives crashes with WAL + checkpoint β no data loss
β³ Supports TTL, indexes, events, multi-collection
π§© Has zero native dependencies β pure Node.js
π¦ And does all that in a few lines of code...
π You should absolutely try it!
Quick Example
const WiseJSON = require('wise-json-db');
const db = new WiseJSON('./db-folder', { checkpointIntervalMs: 500 });
await db.init();
const users = await db.collection('users');
await users.insert({ name: 'Alice', email: 'alice@example.com' });
Whatβs New?
π₯ Performance boost:
Old version: ~1.3 seconds per insert
Now: ~300ms for same workload
Tested on
- OS: Windows
- Node.js: 18+, 20+
- Stress tests: batch insert, TTL, export/import, indexes, crash-recovery
Try it now:
π¬ Dive into the source if you're curious about WAL, segmented checkpoints, or TTL. Everything's written with care and fully open.
Thanks for the support & feedback π
Top comments (0)