UNPKG

decentralized-internet

Version:

An NPM library of programs to create decentralized web and distributed computing projects

18 lines (14 loc) 378 B
import Ding from "../ding"; import InfluxDB from "./influxdb"; import MongoDB from "./mongodb"; export default class StorageManager { protected influxdb: InfluxDB; protected mongodb: MongoDB; constructor(dingjs: Ding) { this.influxdb = new InfluxDB(dingjs.getConfig()); this.mongodb = new MongoDB(); } public getInfluxdb() { return this.influxdb; } }