sindresorhus / detect-indent
Detect the indentation of code
☆196Updated last year
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☆164Updated last year
- Read a package.json file☆167Updated last year
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Get metadata of a package from the npm registry☆242Updated 10 months ago
- Get the latest version of an npm package☆176Updated last year
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆110Updated 2 years ago
- Read the closest package.json file☆268Updated last year
- Create an error from multiple errors☆245Updated last year
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆140Updated 3 years ago
- Get the gzipped size of a string or buffer☆172Updated 3 years ago
- Check if your package was installed globally☆70Updated last year
- Let a globally installed package use a locally installed version of itself if available☆154Updated 10 months ago
- Find the root directory of a Node.js project or npm package☆244Updated last year
- Check if argv has a specific flag☆95Updated 3 years ago
- normalizes package metadata, typically found in package.json file.☆200Updated last month
- Import a globally installed module☆58Updated last year
- Copy a file☆120Updated last year
- Truncate a string to a specific width in the terminal☆87Updated last year
- Convert a value to an array☆129Updated 3 years ago
- Write a package.json file☆88Updated 10 months ago
- JavaScript option parsing and help generation library☆163Updated last year
- Detects if a file is binary in Node.js. Similar to Perl's -B☆165Updated 7 months ago
- Easily handle defaults for your options☆74Updated last year
- A proxy to `path`, replacing `\` with `/` for all results & methods to add, change, default, trim file extensions.☆153Updated last year
- Filter object keys and values into a new object☆101Updated last year
- Clear a module from the cache☆182Updated 3 years ago
- Reliably get the terminal window size☆140Updated last year
- Parse the things that can be arguments to `npm install`☆131Updated 3 months ago
- Reliable way to to get the height and width of the terminal/console in a node.js environment.☆84Updated 9 months ago