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:
- Find the closest package.json file☆164Updated last month
- Indent each line in a string☆113Updated 3 years ago
- Check if a value is a plain object☆102Updated last year
- Lazy number range generator☆81Updated last year
- Sort the keys of an object☆104Updated 10 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
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆145Updated 2 years ago
- Compose promise-returning & async functions into a reusable pipeline☆123Updated 4 years ago
- Round a number to a specific number of decimal places: 1.234 → 1.2☆156Updated last year
- Wordwrap a string with ANSI escape codes☆126Updated last year
- Wait for any promise to be fulfilled☆54Updated 3 years ago
- Get the gzipped size of a string or buffer☆172Updated 3 years ago
- Filter object keys and values into a new object☆103Updated last year
- Get the path of the caller module☆64Updated 3 years ago
- Check if a URL is absolute☆79Updated 3 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆184Updated 2 years ago
- Polyfill/shim for util.promisify in node versions < v8☆127Updated 7 months ago
- Write data to a random temporary file☆105Updated last year
- Reduce a list of values using promises into a promise for a value☆70Updated 2 years ago
- Get the path of the parent module☆77Updated last year
- Get a random temporary file path☆80Updated 2 years ago
- Parse milliseconds into an object☆119Updated last year
- Resolve the path of a module like require.resolve() but from a given path☆141Updated 4 years ago
- Check if your package was installed globally☆70Updated last year
- Finds the common standard cache directory☆158Updated 3 months ago
- Conditional promise chains☆61Updated 4 years ago
- Get the latest version of an npm package☆176Updated last year
- Create a lazily evaluated value☆70Updated 4 years ago
- Check whether a request can be retried based on the `error.code`☆81Updated 3 years ago
- Convert a value to an array☆129Updated 3 years ago