UNPKG

mongo-portable

Version:

Portable Pure JS MongoDB - Based on Monglodb (https://github.com/euforic/monglodb.git) by Christian Sullivan (http://RogueSynaptics.com)

11 lines (8 loc) 258 B
import { MongoPortable } from "./src/core"; import { BaseStore } from "./src/store" try { if (window) { window["MongoPortable"] = MongoPortable; } } catch (e) { /* window not found -> not a browser environment */ } export { MongoPortable, BaseStore };