You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
222 B
JavaScript

6 years ago
'use strict';
var stripIndent = require('strip-indent');
var indentString = require('indent-string');
module.exports = function (str, count, indent) {
return indentString(stripIndent(str), indent || ' ', count || 0);
};