Skip to content

tarsislimadev/database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Easy Database Node.js library

GitHub Workflow Status (with event) npm github/stars

social & donate

Donate - Telegram - Discord

how to install

# bash

npm i @brtmvdl/database

how to use

// index.mjs

import { Database } from '@brtmvdl/database'

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

const users = db.in('users')

const user = users.new()

user.writeMany({ email: '[email protected]', password: 'password' })

console.log('user', user.readManyString(['email', 'password']))
# bash

node index.mjs

author

@brtmvdl

license

MIT