@trichter/git-db
TypeScript icon, indicating that this package has built-in type declarations

0.0.6-b • Public • Published

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)

Readme

Keywords

none

Package Sidebar

Install

npm i @trichter/git-db

Weekly Downloads

4

Version

0.0.6-b

License

MIT

Unpacked Size

42.2 kB

Total Files

27

Last publish

Collaborators

  • alangecker
  • krandala