mirror of https://github.com/jkjoy/sunpeiwen.git
6 lines
207 B
JavaScript
6 lines
207 B
JavaScript
|
'use strict';
|
||
|
const stripIndent = require('strip-indent');
|
||
|
const indentString = require('indent-string');
|
||
|
|
||
|
module.exports = (string, count = 0, options) => indentString(stripIndent(string), count, options);
|