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: kk.erzhan@gmail.com