sindresorhus / strip-indentLinks
Strip leading whitespace from each line in a string
☆144Updated 2 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:
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆148Updated 3 months ago
- Check if a value is a plain object☆103Updated last year
- Find the closest package.json file☆166Updated 6 months ago
- Check whether a request can be retried based on the `error.code`☆82Updated 3 years ago
- Indent each line in a string☆114Updated 3 years ago
- Wordwrap a string with ANSI escape codes☆130Updated 3 months ago
- Check if a URL is absolute☆80Updated 3 months ago
- Get a random temporary file path☆81Updated 2 years ago
- Filter object keys and values into a new object☆105Updated last year
- Get the path of the parent module☆79Updated 3 months ago
- Check if argv has a specific flag☆96Updated 4 years ago
- Lazy number range generator☆82Updated last year
- A static list of the Node.js builtin modules from the latest Node.js version☆125Updated 3 months ago
- Check if your package was installed globally☆70Updated 2 years ago
- Compose promise-returning & async functions into a reusable pipeline☆127Updated 4 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆187Updated 2 years ago
- normalizes package metadata, typically found in package.json file.☆203Updated last week
- Check if your code is running as an npm or yarn script☆65Updated 3 months ago
- Toggle the CLI cursor☆113Updated last year
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated 3 months ago
- Convert a value to an array☆133Updated 4 years ago
- Check if a string is HTML☆95Updated 3 months ago
- Get the path of the caller module☆67Updated 4 years ago
- This repository has been archived, use Enquirer instead.☆44Updated 7 years ago
- Reduce a list of values using promises into a promise for a value☆74Updated 2 years ago
- Round a number to a specific number of decimal places: 1.234 → 1.2☆161Updated 3 months 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 2 years ago
- Parse milliseconds into an object☆123Updated last year
- Create an array without duplicates☆74Updated 4 years ago
- Create a lazily evaluated value☆69Updated 4 years ago