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