sindresorhus / strip-indentLinks
Strip leading whitespace from each line in a string
☆144Updated 3 months ago
Alternatives and similar repositories for strip-indent
Users that are interested in strip-indent are comparing it to the libraries listed below
Sorting:
- Indent each line in a string☆115Updated 3 years ago
- Find the closest package.json file☆166Updated 7 months ago
- Check if a value is a plain object☆103Updated last year
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆148Updated 4 months ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆187Updated 2 years ago
- Wordwrap a string with ANSI escape codes☆130Updated 4 months ago
- Lazy number range generator☆83Updated 2 years ago
- Check if your package was installed globally☆71Updated 2 years ago
- If you use globs, this will make your code faster. Returns `true` if the given string looks like a glob pattern or an extglob pattern. Th…☆95Updated 3 years ago
- Check if a URL is absolute☆80Updated 4 months ago
- Check whether a request can be retried based on the `error.code`☆82Updated 3 years ago
- Write data to a random temporary file☆108Updated last year
- Get a random temporary file path☆81Updated 2 years ago
- A static list of the Node.js builtin modules from the latest Node.js version☆125Updated 4 months ago
- Compose promise-returning & async functions into a reusable pipeline☆127Updated 4 years ago
- Reduce a list of values using promises into a promise for a value☆74Updated 2 years ago
- Get the path of the parent module☆79Updated 3 months ago
- Parse milliseconds into an object☆124Updated last year
- Detect the indentation of code☆200Updated 3 months ago
- Filter object keys and values into a new object☆105Updated last year
- Create a lazily evaluated value☆69Updated 4 years ago
- Convert a value to an array☆133Updated 4 years ago
- Conditional promise chains☆63Updated 4 years ago
- Toggle the CLI cursor☆113Updated last year
- Create a hash for file revving☆107Updated 2 years ago
- Finds the common standard cache directory☆160Updated 9 months ago
- Ensures a value is a valid error by making it one if not☆84Updated 3 months ago
- Check if your code is running as an npm or yarn script☆65Updated 4 months ago
- Get the path of the caller module☆67Updated 4 years ago
- normalizes package metadata, typically found in package.json file.☆204Updated 3 weeks ago