0.0.6-b • Published 4 years ago
@trichter/git-db v0.0.6-b
git-db
A flat-file database based on git
State
very early version
Example
import GitDB, { YAMLFile } from 'git-db'
const db = new GitDB('./repo')
const master = await db.checkoutBranch('master')
await master.loadData()
const files = master.get((file) => file instanceof YAMLFile)