⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.1
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
invoice
/
node_modules
/
strip-indent
/
View File Name :
readme.md
# strip-indent [](https://travis-ci.org/sindresorhus/strip-indent) > Strip leading whitespace from every line in a string The line with the least number of leading whitespace, ignoring empty lines, determines the number to remove. Useful for removing redundant indentation. ## Install ```sh $ npm install --save strip-indent ``` ## Usage ```js var str = '\tunicorn\n\t\tcake'; /* unicorn cake */ stripIndent('\tunicorn\n\t\tcake'); /* unicorn cake */ ``` ## CLI ```sh $ npm install --global strip-indent ``` ```sh $ strip-indent --help Usage strip-indent <file> echo <string> | strip-indent Example echo '\tunicorn\n\t\tcake' | strip-indent unicorn cake ``` ## Related - [indent-string](https://github.com/sindresorhus/indent-string) - Indent each line in a string ## License MIT © [Sindre Sorhus](http://sindresorhus.com)