Makes it easy to connect lowdb in one string
Install
# Just use it npm install lowdb-adapter --save
API
(fileName = 'db.json', adapterName = 'FileSync', options = {})
let db = ;db
filename
Default 'db.json'.
adapterName
Default 'FileSync'. Can be:
- FileSync
- FileAsync
- Memory
options
Default {encrypt : true, pass: 42} Used crypto
License
MIT