lapisdb-lowdb-adapter
v0.0.2
Published
A LowDB adapter for LapisDB
Downloads
2
Maintainers
Readme
lapisdb-lowdb-adapter
Installation
npm i --save lapisdb-lowdb-adapter
Usage
import { LowDbAdapter } from 'lapisdb-lowdb-adapter'
import { MyModel } from './model'
const databaseName = 'test'
const directory = './database'
const adapter = new LowDbAdapter(MyModel, {name: databaseName, directory: directory})
const datastore = new Datastore<Planet>('test', adapter)
For more information see LapisDB documentation.
📧 Contact me
E-Mail: [email protected]