sindresorhus / strip-indentLinks
Strip leading whitespace from each line in a string
☆142Updated 3 weeks 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☆165Updated 3 months ago
- Indent each line in a string☆113Updated 3 years ago
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆145Updated 3 weeks ago
- Wordwrap a string with ANSI escape codes☆128Updated 3 weeks ago
- Check if a value is a plain object☆102Updated last year
- Reverse minimist. Convert an object of options into an array of command-line arguments☆184Updated 2 years ago
- Toggle the CLI cursor☆112Updated last year
- Filter object keys and values into a new object☆104Updated last year
- Round a number to a specific number of decimal places: 1.234 → 1.2☆160Updated 2 weeks 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
- Get a random temporary file path☆80Updated 2 years ago
- Check if your package was installed globally☆70Updated last year
- Finds the common standard cache directory☆158Updated 5 months ago
- Lazy number range generator☆81Updated last year
- A static list of the Node.js builtin modules from the latest Node.js version☆124Updated 3 weeks ago
- Convert a value to an array☆130Updated 3 years ago
- normalizes package metadata, typically found in package.json file.☆203Updated 2 weeks ago
- Write data to a random temporary file☆105Updated last year
- Resolve the path of a module like require.resolve() but from a given path☆143Updated 4 years ago
- Check if a URL is absolute☆79Updated 3 weeks ago
- Detect the indentation of code☆197Updated 2 weeks ago
- Compose promise-returning & async functions into a reusable pipeline☆123Updated 4 years ago
- Create a lazily evaluated value☆69Updated 4 years ago
- Get the path of the caller module☆65Updated 3 years ago
- Get the path of the parent module☆78Updated 2 weeks ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated 2 weeks ago
- Read the closest package.json file☆267Updated last year
- Detects if a file is binary in Node.js. Similar to Perl's -B☆167Updated 3 weeks ago
- Randomize the order of items in an array☆107Updated 2 weeks ago
- Create a hash for file revving☆105Updated last year