sindresorhus / strip-indentLinks
Strip leading whitespace from each line in a string
☆144Updated last month
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☆114Updated 3 years ago
- Check if a value is a plain object☆103Updated last year
- Find the closest package.json file☆166Updated 5 months ago
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆148Updated 2 months ago
- Wordwrap a string with ANSI escape codes☆130Updated 2 months ago
- 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 2 months ago
- Filter object keys and values into a new object☆105Updated last year
- Check if a URL is absolute☆80Updated 2 months ago
- Lazy number range generator☆82Updated last year
- Check whether a request can be retried based on the `error.code`☆82Updated 3 years ago
- Convert a value to an array☆132Updated 4 years ago
- Get the path of the parent module☆79Updated 2 months ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated 2 months ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆186Updated 2 years ago
- Sort the keys of an object☆107Updated 3 months ago
- Round a number to a specific number of decimal places: 1.234 → 1.2☆160Updated 2 months ago
- Check if your package was installed globally☆70Updated 2 years ago
- Write data to a random temporary file☆107Updated last year
- Check if argv has a specific flag☆95Updated 4 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 2 years ago
- Create a lazily evaluated value☆69Updated 4 years ago
- Copy a file☆122Updated 3 months ago
- Get the path of the caller module☆66Updated 4 years ago
- Reduce a list of values using promises into a promise for a value☆74Updated 2 years ago
- Detect the indentation of code☆200Updated 2 months ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Compose promise-returning & async functions into a reusable pipeline☆127Updated 4 years ago
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Polyfill/shim for util.promisify in node versions < v8☆127Updated 11 months ago