{"library":"easy-json-database","type":"library","category":null,"description":"Easy JSON Database (easy-json-database) is a lightweight, file-system based database solution for Node.js environments. Currently stable at version 1.5.1, it has seen no new releases in approximately three years, suggesting a maintenance-only status without active feature development. This package differentiates itself through its extreme simplicity, storing all data directly within a single JSON file. It offers basic CRUD operations (set, get, delete, has), numerical manipulations (add, subtract), and array operations (push), along with a `clear` and `all` method. Key features include an optional snapshot mechanism for backups. Unlike robust NoSQL databases (e.g., MongoDB, CouchDB) or relational databases with JSON capabilities (e.g., PostgreSQL), easy-json-database operates by loading and saving the entire JSON file to disk for every write operation, making it suitable only for small datasets and low-concurrency scenarios. It is primarily used in projects requiring minimal setup and direct file storage, such as the 'Scratch For Discord' bot.","language":"javascript","status":"maintenance","version":"1.5.1","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install easy-json-database","imports":["import { Database } from 'easy-json-database';","const Database = require('easy-json-database');","import { Database } from 'easy-json-database';\nconst db: Database = new Database('./data.json');"]},{"cmd":"yarn add easy-json-database","imports":[]},{"cmd":"pnpm add easy-json-database","imports":[]}],"homepage":null,"github":"https://github.com/Androz2091/easy-json-database","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/easy-json-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/easy-json-database/compatibility"}}