sindresorhus / detect-indentLinks
Detect the indentation of code
☆197Updated 2 weeks ago
Alternatives and similar repositories for detect-indent
Users that are interested in detect-indent are comparing it to the libraries listed below
Sorting:
- Reverse minimist. Convert an object of options into an array of command-line arguments☆184Updated 2 years ago
- Find the closest package.json file☆165Updated 3 months ago
- Check if your package was installed globally☆70Updated last year
- Get metadata of a package from the npm registry☆244Updated last year
- Detect the dominant newline character of a string☆55Updated 2 years ago
- Get the latest version of an npm package☆176Updated last year
- Toggle the CLI cursor☆112Updated last year
- normalizes package metadata, typically found in package.json file.☆203Updated last week
- Reliably get the terminal window size☆144Updated last year
- Indent each line in a string☆113Updated 3 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆141Updated 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
- Read a package.json file☆171Updated last year
- Parse the things that can be arguments to `npm install`☆131Updated 2 months ago
- Strip leading whitespace from each line in a string☆142Updated 2 weeks ago
- Find the root directory of a Node.js project or npm package☆246Updated 3 months ago
- A static list of the Node.js builtin modules from the latest Node.js version☆124Updated 2 weeks ago
- Write a package.json file☆88Updated 2 weeks ago
- Wordwrap a string with ANSI escape codes☆128Updated 3 weeks ago
- Truncate a string to a specific width in the terminal☆87Updated 2 weeks ago
- Parse `.git/config` into a JavaScript object. sync or async.☆62Updated 6 years ago
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆111Updated 2 years ago
- Check if a value is a plain object☆102Updated last year
- Open files in your editor at a specific line and column☆209Updated 9 months ago
- Detects if a file is binary in Node.js. Similar to Perl's -B☆167Updated 3 weeks ago
- Check if argv has a specific flag☆93Updated 4 years ago
- Tokenizes a string that represents a regular expression.☆96Updated 2 years ago
- Filter object keys and values into a new object☆104Updated last year
- Check if a path exists☆151Updated 3 years ago
- Walk through a folder and figure out what goes in an npm package☆114Updated last week