{"library":"a1-database","type":"library","category":null,"description":"a1-database is an embedded, zero-dependency, zero-installation JSON database designed for simplicity and portability. As of version 1.8.0, it stores all data in a single file, making it ideal for development, local applications, or scenarios where a lightweight, persistent data store is required without external database server overhead. It operates directly on JavaScript objects, eliminating the need for an ORM, and returns query results as arrays of objects. The package provides methods that cater to both SQL-like (e.g., `insert`, `update` with `id` keys) and document-like (flexible `save` with custom filter functions for multi-key or heterogeneous data) paradigms. Each database instance is represented by a single file, facilitating easy backup and data dumping. Its primary release cadence is not explicitly stated, but ongoing development is implied by the version number, focusing on a straightforward API for common CRUD operations like `save`, `find`, and `delete`.","language":"javascript","status":"active","version":"1.8.0","tags":["javascript","database","no-sql","JSON","embedded","standalone"],"last_verified":"Wed May 27","install":[{"cmd":"npm install a1-database","imports":["const database = require('a1-database')"]},{"cmd":"yarn add a1-database","imports":[]},{"cmd":"pnpm add a1-database","imports":[]}],"homepage":null,"github":"https://github.com/ax1/a1-database","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/a1-database","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/a1-database/compatibility"}}