README
🗂️ DirectDB
Turn a directory into a database. Store data in folders and human-readable files like YAML, Markdown, and JSON.
Still in development. Expect breaking changes.
Install
npm i directdb
# or
yarn add directdb
Getting Started
import directdb from 'directdb'
const rootDir = '.' // Relative or absolute path to a directory
const db = await directdb(rootDir)
// $ is an alias for the root directory
await db.cache.dir['