Skip to content

tarsislimadev/adatabase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Easy Database Node.js library

npm github/stars

social & donate

Donate - Telegram - Discord

how to install

npm i adatabase

how to use

// index.js

import { Database } from 'adatabase'

const db = new Database({ type: 'fs', config: '/data' })

const users = db.in('users')

const user = users.new()

user.writeMany({ email: 'mail@mail.com', password: 'password' })

console.log('user', user.readManyString(['email', 'password']))
node index.js

author

@tarsislimadev

license

MIT