node.js Database ringan tidak perlu koneksi, dalam Bentuk JSON yang terenkripsi
npm install dbjson-encrypt
const Database = require('dbjson-encrypt');
const dbku = new Database('namaDB', 'enkripkey');
dbku.insertData('users', { id: 1, name: 'Alice' });
dbku.insertData('users', { id: 2, name: 'Lice' });
dbku.insertData('users', { id: 4, name: 'Lice',middlename:'tengah' });
const users = dbku.selectData('users',{name:'Lice',middlename:'tengah'});
console.log(users);
dbku.updateData('users', { id: 1 }, { name: 'Alice Smith' });
dbku.deleteData('users', { id: 1 });
const tables = dbku.listTable();
console.log(tables);
dbku.truncate('users');