UNPKG

metusbase

Version:

This package is an NPM module that makes using JSON and Mongo fast, secure and easy. Developer: mete52

8 lines (7 loc) 368 B
export * from "./lib/database.js"; //* Database class export * from "./lib/mongoDatabase.js"; //* MongoDatabase class import { checker } from "./helper/checker.js"; import path from "path"; import fs from "fs"; const jsonparse = JSON.parse(fs.readFileSync(path.join(process.cwd(), "package.json"), "utf8")); checker(jsonparse.dependencies.metusbase.replace("^", ""));