epiphany/node_modules/redent/index.js
2023-12-09 22:48:07 -08:00

6 lines
210 B
JavaScript

import stripIndent from 'strip-indent';
import indentString from 'indent-string';
export default function redent(string, count = 0, options = {}) {
return indentString(stripIndent(string), count, options);
}