Regular expression for matching a shebang line
MIT License
Repeat a string - fast
Strip leading whitespace from each line in a string
Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`
Escape RegExp special characters
Replace matching strings and regexes in files
Check if your code is running as an npm or yarn script
Simple wildcard matching
url.parse() with support for protocol-less URLs & IPs
Regular expression for matching issue references
Indent each line in a string
Check if argv has a specific flag
Regular expression for matching scoped npm package names
Regular expression for matching JavaScript identifiers
Regular expression for matching JavaScript comments
Strip redundant indentation and indent the string