diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-03-27 21:01:33 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-03-27 21:01:33 +0100 |
commit | cc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585 (patch) | |
tree | 92c5d88706a6ffc654d1b133618d357890e7096b /node_modules/indent-string/readme.md | |
parent | 3771b4d6b67b34c130f3a9a1a15f42deefdb2eda (diff) |
remove node_modules
Diffstat (limited to 'node_modules/indent-string/readme.md')
-rw-r--r-- | node_modules/indent-string/readme.md | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/node_modules/indent-string/readme.md b/node_modules/indent-string/readme.md deleted file mode 100644 index d2592d73f..000000000 --- a/node_modules/indent-string/readme.md +++ /dev/null @@ -1,72 +0,0 @@ -# indent-string [](https://travis-ci.org/sindresorhus/indent-string) - -> Indent each line in a string - - -## Install - -``` -$ npm install indent-string -``` - - -## Usage - -```js -const indentString = require('indent-string'); - -indentString('Unicorns\nRainbows', 4); -//=> ' Unicorns' -//=> ' Rainbows' - -indentString('Unicorns\nRainbows', 4, {indent: '♥'}); -//=> '♥♥♥♥Unicorns' -//=> '♥♥♥♥Rainbows' -``` - - -## API - -### indentString(input, [count], [options]) - -#### input - -Type: `string` - -String you want to indent. - -#### count - -Type: `number`<br> -Default: `1` - -How many times you want `indent` repeated. - -#### options - -Type: `Object`<br> - -##### indent - -Type: `string`<br> -Default: `' '` - -String to use for the indent. - -##### includeEmptyLines - -Type: `boolean`<br> -Default: `false` - -Also indent empty lines. - - -## Related - -- [indent-string-cli](https://github.com/sindresorhus/indent-string-cli) - CLI for this module -- [strip-indent](https://github.com/sindresorhus/strip-indent) - Strip leading whitespace from every line in a string - - -## License - -MIT © [Sindre Sorhus](https://sindresorhus.com) |