6 lines
207 B
JavaScript
Raw Normal View History

2024-08-20 23:25:37 +04:00
'use strict';
const stripIndent = require('strip-indent');
const indentString = require('indent-string');
module.exports = (string, count = 0, options) => indentString(stripIndent(string), count, options);