Skip to content

Latest commit

 

History

History
49 lines (28 loc) · 1.4 KB

README.md

File metadata and controls

49 lines (28 loc) · 1.4 KB

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