expressmultithread
Version:
Fast, light-weight and low dependency [Express.js](https://www.npmjs.com/package/express) multithreaded router.
10 lines • 364 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.resolvePath = void 0;
const path_1 = require("path");
const cwd = process.cwd();
function resolvePath(path) {
return (0, path_1.resolve)(cwd, Array.isArray(path) ? (0, path_1.join)(...path) : path);
}
exports.resolvePath = resolvePath;
//# sourceMappingURL=resolvePath.js.map