sindresorhus / strip-indentLinks
Strip leading whitespace from each line in a string
☆143Updated 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☆113Updated 3 years ago
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆146Updated 2 months ago
- Find the closest package.json file☆165Updated 5 months ago
- Check if a URL is absolute☆80Updated 2 months ago
- Wordwrap a string with ANSI escape codes☆130Updated 2 months ago
- Check if a value is a plain object☆103Updated last year
- Lazy number range generator☆82Updated last year
- 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…☆96Updated 2 years ago
- Filter object keys and values into a new object☆104Updated last year
- A static list of the Node.js builtin modules from the latest Node.js version☆124Updated 2 months ago
- Get a random temporary file path☆80Updated 2 years ago
- Get the path of the parent module☆78Updated last month
- Get the path of the caller module☆66Updated 4 years ago
- Check whether a request can be retried based on the `error.code`☆81Updated 3 years ago
- Check if your code is running as an npm or yarn script☆64Updated 2 months ago
- Create a lazily evaluated value☆69Updated 4 years ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated last month
- Write data to a random temporary file☆107Updated last year
- Check if a string is a valid filename☆62Updated 4 years ago
- Check if your package was installed globally☆69Updated 2 years ago
- Toggle the CLI cursor☆112Updated last year
- Reduce a list of values using promises into a promise for a value☆73Updated 2 years ago
- touch(1) for node☆125Updated 2 weeks ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Create a hash for file revving☆106Updated 2 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Sort the keys of an object☆105Updated 2 months ago
- Convert a value to an array☆131Updated 4 years ago
- Resolve the path of a module like require.resolve() but from a given path☆143Updated 4 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆143Updated 2 months ago