{"library":"jdb","type":"library","category":null,"description":"JDB is a lightweight, file-append-only, in-memory, non-blocking I/O database inspired by NeDB. It allows users to manipulate data directly using standard JavaScript code, eliminating the need for a separate query language. The current stable version is 0.5.5, indicating a relatively mature but perhaps slower-paced development cycle without explicit release cadence information. Key differentiators include its lightweight core (approx. 200 lines), direct JavaScript data manipulation, promise support, and both standalone server and in-application library modes. It operates by appending JavaScript commands to a file, which are then re-executed on startup to reconstruct the database's in-memory state. Periodically, the database file can be compacted into a single JSON object to optimize storage and startup time.","language":"javascript","status":"active","version":"0.5.5","tags":["javascript","database"],"last_verified":"Wed May 27","install":[{"cmd":"npm install jdb","imports":["const jdb = require('jdb')();","await jdb.init();","await jdb.exec({ data: someData, command: (db, data) => db.doc.myKey = data });"]},{"cmd":"yarn add jdb","imports":[]},{"cmd":"pnpm add jdb","imports":[]}],"homepage":null,"github":"https://github.com/ysmood/jdb","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/jdb","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/jdb/compatibility"}}