@ng-doc/builder
Version:
<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/ng-doc/ng-doc"> <img src="https://ng-doc.com/assets/images/ng-doc.svg?raw=true" alt="Logo" height="150px"> </a>
16 lines • 453 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.posix = posix;
const tslib_1 = require("tslib");
const path = tslib_1.__importStar(require("path"));
/**
* Converts a file path to posix format
* @param filePath - The file path to convert
*/
function posix(filePath) {
return filePath
.split(path.sep)
.join(path.posix.sep)
.replace(/^[a-zA-Z]:/, '');
}
//# sourceMappingURL=posix.js.map
;