sindresorhus / strip-indent
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☆163Updated last year
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Lazy number range generator☆81Updated last year
- Get a random temporary file path☆80Updated 2 years ago
- Indent each line in a string☆113Updated 2 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Check if your package was installed globally☆70Updated last year
- Get the path of the parent module☆77Updated last year
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Write data to a random temporary file☆105Updated 9 months ago
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Check if a value is a plain object☆102Updated last year
- Read the closest package.json file☆267Updated last year
- Conditional promise chains☆60Updated 4 years ago
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆106Updated 2 years ago
- Filter object keys and values into a new object☆101Updated 11 months ago
- Create an array without duplicates☆71Updated 4 years ago
- Get the gzipped size of a string or buffer☆172Updated 3 years ago
- Simplified high resolution timing☆81Updated 8 months ago
- A static list of the Node.js builtin modules from the latest Node.js version☆122Updated 2 months ago
- Polyfill/shim for util.promisify in node versions < v8☆127Updated 4 months ago
- Wordwrap a string with ANSI escape codes☆124Updated last year
- Sort the keys of an object☆103Updated 8 months ago
- Finds the common standard cache directory☆158Updated last month
- Compose promise-returning & async functions into a reusable pipeline☆123Updated 4 years ago
- Check if a URL is absolute☆79Updated 3 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- [OBSOLUTE] Concatenate a readable stream's data into a single array.☆101Updated 8 months ago
- Detects if a file is binary in Node.js. Similar to Perl's -B☆165Updated 6 months ago