juniOrDB

juniOrDB is a simple and lightweight database for Node.js projects. It saves your data to a local DB.json file — no server needed!

Installation

npm install juniOrDB

Usage

const JuniOrDB = require('./juniOrDB');
const db = new JuniOrDB();

// Create a table
db.createTable('users');

// Insert data
db.insert('users', { name: 'Alice', age: 25 });

// Get all data
const users = db.getAll('users');
console.log(users);

// Update data
db.update('users', id, { name: 'Bob' });

// Delete data
db.delete('users', id);
  

Where does the data go?

All your data is saved in a local file called DB.json automatically.

Do I need a server?

No! juniOrDB works locally without a server. It's perfect for bots, tools, or small apps.

License

MIT License