index.js 222 B

1234567
  1. 'use strict';
  2. var stripIndent = require('strip-indent');
  3. var indentString = require('indent-string');
  4. module.exports = function (str, count, indent) {
  5. return indentString(stripIndent(str), indent || ' ', count || 0);
  6. };