declapract
Version:
A tool to declaratively define best practices, maintainable evolve them, and scalably enforce them.
10 lines • 370 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getNormalizedPath = void 0;
const path_1 = require("path");
/**
* e.g., `src//logic/../dao/index.ts` -> `src/dao/index.ts`
*/
const getNormalizedPath = (path) => (0, path_1.normalize)(path);
exports.getNormalizedPath = getNormalizedPath;
//# sourceMappingURL=getNormalizedPath.js.map