UNPKG

expresspayments

Version:
12 lines (11 loc) 774 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const NodePlatformFunctions_js_1 = require("./platform/NodePlatformFunctions.js"); const expressplatby_core_js_1 = require("./expressplatby.core.js"); const ExpressPlatby = (0, expressplatby_core_js_1.createExpressPlatby)(new NodePlatformFunctions_js_1.NodePlatformFunctions()); module.exports = ExpressPlatby; // expose constructor as a named property to enable mocking with Sinon.JS module.exports.ExpressPlatby = ExpressPlatby; // Allow use with the TypeScript compiler without `esModuleInterop`. // We may also want to add `Object.defineProperty(exports, "__esModule", {value: true});` in the future, so that Babel users will use the `default` version. module.exports.default = ExpressPlatby;