@themineway/smart-storage-js
Version:
A TS/JS library that provides a smart and easy way to store data
16 lines • 437 B
JavaScript
export class WebWarehouse {
constructor() { }
static getConnector(name) {
return this.connectors[name];
}
static setConnector(name, connector) {
this.connectors[name] = connector;
}
static clearConnectors() {
for (const key of Object.keys(this.connectors)) {
delete this.connectors[key];
}
}
}
WebWarehouse.connectors = {};
//# sourceMappingURL=web-warehouse.js.map