@beenotung/tslib
Version:
utils library in Typescript
12 lines • 341 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.unix2dos = exports.dos2unix = void 0;
function dos2unix(s) {
return s.replace(/\r\n/g, '\n');
}
exports.dos2unix = dos2unix;
function unix2dos(s) {
return s.replace(/\n/g, '\r\n');
}
exports.unix2dos = unix2dos;
//# sourceMappingURL=encoding.js.map