system_assignation/node_modules/redent/index.js

7 lines
210 B
JavaScript
Raw Normal View History

2022-03-24 09:22:39 -04: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);
}