Indent each line in a string
MIT License
Detect the indentation of code
Parse CLI help output
Reverse minimist. Convert an object of options into an array of command-line arguments
Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`
Repeat a string - fast
Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}
Stringify and write JSON to a file atomically
Strip leading whitespace from each line in a string
Import a module lazily
Regular expression for matching a shebang line
Strip redundant indentation and indent the string
Check if your code is running as an npm or yarn script
Detect the dominant newline character of a string
🐈 CLI app helper
Pad each line in a stream