securityos/node_modules/redent/index.js

7 lines
210 B
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
import stripIndent from 'strip-indent';
import indentString from 'indent-string';
export default function redent(string, count = 0, options = {}) {
return indentString(stripIndent(string), count, options);
}