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 year
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Get the gzipped size of a string or buffer☆172Updated 3 years ago
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆145Updated last year
- Get the path of the caller module☆64Updated 3 years ago
- Indent each line in a string☆113Updated 2 years ago
- normalizes package metadata, typically found in package.json file.☆201Updated last month
- Clear a module from the cache☆182Updated 3 years ago
- Check if a URL is absolute☆79Updated 3 years ago
- Finds the common standard cache directory☆158Updated last month
- Read the closest package.json file☆268Updated last year
- Lazy number range generator☆81Updated last year
- Resolve the path of a module like require.resolve() but from a given path☆142Updated 4 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 4 years ago
- Check if a value is a plain object☆102Updated last year
- [OBSOLUTE] Concatenate a readable stream's data into a single array.☆100Updated 9 months ago
- Filter object keys and values into a new object☆101Updated last year
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆94Updated 2 years ago
- touch(1) for node☆124Updated 11 months ago
- Conditional promise chains☆61Updated 4 years ago
- Sort the keys of an object☆103Updated 8 months ago
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆98Updated last year
- Sanity check which files you are and aren't about to publish to npm☆85Updated 3 years ago
- Read a package.json file☆167Updated last year
- Write data to a random temporary file☆105Updated 10 months ago
- Check whether a request can be retried based on the `error.code`☆80Updated 3 years ago
- A proxy to `path`, replacing `\` with `/` for all results & methods to add, change, default, trim file extensions.☆153Updated 2 years ago
- Reliably get the terminal window size☆141Updated last year
- Toggle the CLI cursor☆108Updated 10 months ago