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
- Find the closest package.json file☆165Updated 3 months ago
- Check if a value is a plain object☆102Updated last year
- Get a random temporary file path☆80Updated 2 years ago
- Check if a URL is absolute☆79Updated 4 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆184Updated 2 years ago
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆145Updated 2 years ago
- Wordwrap a string with ANSI escape codes☆128Updated last year
- Lazy number range generator☆81Updated last year
- Create a lazily evaluated value☆69Updated 4 years ago
- Filter object keys and values into a new object☆104Updated last year
- 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
- Sort the keys of an object☆104Updated 2 weeks ago
- Compose promise-returning & async functions into a reusable pipeline☆123Updated 4 years ago
- Reduce a list of values using promises into a promise for a value☆70Updated 2 years ago
- Check if a string matches the name of a Node.js builtin module☆61Updated 6 months ago
- Write data to a random temporary file☆105Updated last year
- Round a number to a specific number of decimal places: 1.234 → 1.2☆158Updated 3 weeks ago
- Check whether a request can be retried based on the `error.code`☆81Updated 3 years ago
- Parse milliseconds into an object☆119Updated last year
- normalizes package metadata, typically found in package.json file.☆203Updated last month
- Convert a value to an array☆129Updated 3 years ago
- Toggle the CLI cursor☆111Updated last year
- Check if your package was installed globally☆70Updated last year
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated 4 years ago
- Detects if a file is binary in Node.js. Similar to Perl's -B☆167Updated this week
- Polyfill/shim for util.promisify in node versions < v8☆127Updated 8 months ago
- Resolve the path of a module like require.resolve() but from a given path☆143Updated 4 years ago
- Get the path of the parent module☆78Updated last year
- touch(1) for node☆124Updated last year