UNPKG

arangojs

Version:

The official ArangoDB JavaScript driver.

15 lines 501 B
import { Database } from "./database.js"; if (typeof module !== "undefined" && typeof exports !== "undefined") { module.exports = exports = arangojs; } export function arangojs(config, name) { if (typeof config === "string" || Array.isArray(config)) { const url = config; return new Database(url, name); } return new Database(config); } export default arangojs; export { aql } from "./aql.js"; export { Database } from "./database.js"; //# sourceMappingURL=index.js.map