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:
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Find the closest package.json file☆164Updated last month
- Indent each line in a string☆113Updated 3 years ago
- Write data to a random temporary file☆105Updated 11 months ago
- Lazy number range generator☆81Updated last year
- A static list of the Node.js builtin modules from the latest Node.js version☆122Updated 4 months ago
- Get the path of the caller module☆64Updated 3 years ago
- Get the gzipped size of a string or buffer☆172Updated 3 years ago
- Get the path of the parent module☆77Updated last year
- Detects if a file is binary in Node.js. Similar to Perl's -B☆167Updated 8 months ago
- Compose promise-returning & async functions into a reusable pipeline☆123Updated 4 years ago
- Filter object keys and values into a new object☆102Updated last year
- Polyfill/shim for util.promisify in node versions < v8☆127Updated 6 months ago
- Wait for any promise to be fulfilled☆54Updated 3 years ago
- normalizes package metadata, typically found in package.json file.☆201Updated this week
- Wordwrap a string with ANSI escape codes☆126Updated last year
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆145Updated 2 years ago
- Get namespaced config from the closest package.json☆121Updated last year
- Check if a URL is absolute☆79Updated 3 years ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated 4 years 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…☆94Updated 2 years ago
- Parse milliseconds into an object☆119Updated last year
- Toggle the CLI cursor☆110Updated 11 months ago
- Create a lazily evaluated value☆70Updated 4 years ago
- Check if a value is a plain object☆102Updated last year
- Check whether a request can be retried based on the `error.code`☆81Updated 3 years ago
- Truncate a string to a specific width in the terminal☆87Updated last year
- Check if your package was installed globally☆70Updated last year
- Detect the indentation of code☆196Updated last year
- Sort the keys of an object☆104Updated 10 months ago