@krsnadjava25/lowdb-google-cloud-storage-adapter
v0.1.5
Published
This let you to create and use a lowDB source located on Google cloud storage
Downloads
6
Readme
lowdb-google-cloud-storage-adapter
This let you to create and use a lowDB source located on Google cloud storage
Installation
npm i --save lowdb-google-cloud-storage-adapter
Usage
const GcloudAdapter = require('lowdb-google-cloud-storage-adapter');
const low = require('lowdb');
const adapter = new GcloudAdapter('db.json', {
projectId:"Project Id",
keyFilename:"Key file path",
bucketName:"Bucket name",
});
const db = low(adapter);