CarrotDB
a JSON based database for Node.js
carrotDB;
Usage
npm install carrotdb
const carrotDB = ; const app = async { try await carrotDB; const createdRecord = await carrotDB; return console; catch error return console; } ;
Data stored in JSON
Install
npm install carrotdb
API
carrotDB.connect()
Checks for a database & creates an empty folder with empty database if non existent.
carrotDB
carrotDB.get()
Finds an existing object in the database using id.
carrotDB
carrotDB.create()
Assigns a new object to database with generated id.
carrotDB
carrotDB.remove()
Removes an object from database using id.
carrotDB
carrotDB.update()
Updates an object from database using id.
carrotDB
Limits
I created it in 1 hour without testing so don't get any big ideas.