Skip to content

Endb – Enhanced Database, is a simplified and powerful database for storing, accessing, and managing database.

License

Notifications You must be signed in to change notification settings

KevvyCodes/endb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Endb

discord-server npm-version npm-downloads dependencies

npm-info

About

Endb – Enhanced Database, is a simplified and powerful database for storing, accessing, and managing database.

  • Object-oriented
  • Persistent storage
  • Configurable
  • Performant
  • Beginner-friendly

Installation

Node.js 10.0.0 or newer is required.

Windows

  • Run npm -g --add-python-to-path install windows-build-tools node-gyp in CMD/Powershell as administrator
  • Restart CMD/Powershell
  • Run npm i endb

Mac

  • Install XCode
  • Run npm i -g node-gyp in Terminal
  • Run node-gyp --python /path/to/python2.7 (skip this step if you didn't install python 3.x)
  • Run npm i endb

Linux

  • Run npm i endb in Terminal

Example

const Endb = require('endb');
const db = new Endb.Database({
  name: 'endb', // optional
});

db.set('account_1234567890', 'password12345'); // -> { key: 'account_1234567890', value: 'password12345' }
db.set('account_123456789', {
  id: 123456789,
  password: 'password1234567890',
  checked: true
}); // -> { key: 'account_123456789', value: '{"id":123456789,"password":"password1234567890","checked":true}' }

db.get('account_1234567890'); // -> password12345

db.has('account_1234567890'); // -> true

db.delete('account_1234567890'); // -> true

db.getAll() // -> // -> [ { key: 'account_123456789', value: '{"id":123456789,"password":"password1234567890","checked":true}' } ]

db.deleteAll(); // -> true

Links

About

Endb – Enhanced Database, is a simplified and powerful database for storing, accessing, and managing database.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published