sindresorhus / strip-indentLinks
Strip leading whitespace from each line in a string
☆137Updated 3 years 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☆113Updated 3 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆184Updated 2 years ago
- Find the closest package.json file☆165Updated 2 months ago
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆145Updated 2 years ago
- Get a random temporary file path☆80Updated 2 years ago
- Check whether a request can be retried based on the `error.code`☆81Updated 3 years ago
- Get the path of the parent module☆77Updated last year
- Check if a value is a plain object☆102Updated last year
- A static list of the Node.js builtin modules from the latest Node.js version☆123Updated 5 months ago
- Get the path of the caller module☆65Updated 3 years ago
- Filter object keys and values into a new object☆103Updated last year
- Wordwrap a string with ANSI escape codes☆127Updated last year
- Lazy number range generator☆81Updated last year
- Resolve the path of a module like require.resolve() but from a given path☆141Updated 4 years ago
- touch(1) for node☆124Updated last year
- Check if something is a Node.js stream☆112Updated 9 months ago
- Truncate a string to a specific width in the terminal☆87Updated last year
- Wait for any promise to be fulfilled☆54Updated 3 years ago
- Create a lazily evaluated value☆69Updated 4 years ago
- Check if a URL is absolute☆79Updated 4 years ago
- Toggle the CLI cursor☆111Updated last year
- Compose promise-returning & async functions into a reusable pipeline☆123Updated 4 years ago
- Check if your package was installed globally☆70Updated last year
- Reliably get the terminal window size☆143Updated last year
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated 4 years ago
- Copy a file☆121Updated last week
- 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
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆111Updated 2 years ago
- Write data to a random temporary file☆105Updated last year
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆106Updated 3 years ago