Skip to content

ulughann/yDB

Repository files navigation

ydb

Lightweight JSON/YAML database for Node.js

ydb

Installation

npm install ydb

Usage

import { Database } from 'ydb';
const db = new Database('path/to/db.json');

db.set('foo', 'bar');
db.get('foo'); // bar

Check out the Documentations for more info