Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.148.217.66
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
node_modules /
indent-string /
Delete
Unzip
Name
Size
Permission
Date
Action
index.d.ts
783
B
-rw-rw-r--
2022-08-30 11:49
index.js
743
B
-rw-rw-r--
2022-08-30 11:49
license
1.08
KB
-rw-rw-r--
2022-08-30 11:49
package.json
582
B
-rw-rw-r--
2022-08-30 11:49
readme.md
1.15
KB
-rw-rw-r--
2022-08-30 11:49
Save
Rename
# 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\n Rainbows' indentString('Unicorns\nRainbows', 4, {indent: '♥'}); //=> '♥♥♥♥Unicorns\n♥♥♥♥Rainbows' ``` ## API ### indentString(string, [count], [options]) #### string Type: `string` The string to indent. #### count Type: `number`<br> Default: `1` How many times you want `options.indent` repeated. #### options Type: `object` ##### indent Type: `string`<br> Default: `' '` The 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)