Simon Priet 9e2991e668 init
2021-09-05 22:53:58 +02:00

8 lines
247 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.indentString = void 0;
function indentString(string, count) {
return string.replace(/^(?!\s*$)/gm, ' '.repeat(count));
}
exports.indentString = indentString;