6 lines
207 B
JavaScript
Raw Permalink Normal View History

2023-09-09 09:39:30 +08:00
'use strict';
const stripIndent = require('strip-indent');
const indentString = require('indent-string');
module.exports = (string, count = 0, options) => indentString(stripIndent(string), count, options);