sindresorhus / detect-indentLinks
Detect the indentation of code
☆200Updated 3 months ago
Alternatives and similar repositories for detect-indent
Users that are interested in detect-indent are comparing it to the libraries listed below
Sorting:
- Find the closest package.json file☆166Updated 7 months ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆187Updated 2 years ago
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆112Updated 3 years ago
- Indent each line in a string☆115Updated 3 years ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Check if your package was installed globally☆71Updated 2 years ago
- Get the latest version of an npm package☆175Updated last year
- Write a package.json file☆89Updated 4 months ago
- Get metadata of a package from the npm registry☆245Updated last year
- Find the root directory of a Node.js project or npm package☆250Updated 7 months ago
- Strip leading whitespace from each line in a string☆144Updated 2 months ago
- Read a package.json file☆174Updated 2 months ago
- Check if a value is a plain object☆103Updated last year
- Convert a value to an array☆133Updated 4 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆144Updated 3 months ago
- Toggle the CLI cursor☆113Updated last year
- normalizes package metadata, typically found in package.json file.☆204Updated 3 weeks ago
- Truncate a string to a specific width in the terminal☆88Updated 2 months ago
- Wordwrap a string with ANSI escape codes☆130Updated 4 months ago
- Check if argv has a specific flag☆96Updated 4 years ago
- Finds the common standard cache directory☆160Updated 9 months ago
- Reliably get the terminal window size☆146Updated 2 years ago
- Get your PATH prepended with locally installed binaries☆106Updated last year
- A static list of the Node.js builtin modules from the latest Node.js version☆125Updated 3 months 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 3 years ago
- Brace expansion, as known from sh/bash, in JavaScript☆197Updated last month
- Detects if a file is binary in Node.js. Similar to Perl's -B☆171Updated 3 weeks ago
- Get namespaced config from the closest package.json☆121Updated 2 years ago
- Make a callback- or promise-based function support both promises and callbacks.☆111Updated 2 years ago
- Parse `.git/config` into a JavaScript object. sync or async.☆62Updated 7 years ago