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
- Find the closest package.json file☆163Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Read a package.json file☆165Updated last year
- normalizes package metadata, typically found in package.json file.☆200Updated 3 weeks ago
- Indent each line in a string☆113Updated 2 years ago
- Find the root directory of a Node.js project or npm package☆242Updated last year
- Read the closest package.json file☆267Updated last year
- Get the latest version of an npm package☆176Updated last year
- Convert a value to an array☆129Updated 3 years ago
- Get metadata of a package from the npm registry☆241Updated 9 months ago
- Detects if a file is binary in Node.js. Similar to Perl's -B☆165Updated 6 months ago
- Get the gzipped size of a string or buffer☆172Updated 3 years ago
- Check if a path exists☆151Updated 3 years ago
- Wordwrap a string with ANSI escape codes☆123Updated 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…☆93Updated 2 years ago
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆110Updated 2 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆140Updated 3 years ago
- Import a globally installed module☆58Updated last year
- Check if your package was installed globally☆70Updated last year
- Toggle the CLI cursor☆107Updated 9 months ago
- Create an error from multiple errors☆245Updated last year
- Let a globally installed package use a locally installed version of itself if available☆154Updated 9 months ago
- Parse `.git/config` into a JavaScript object. sync or async.☆61Updated 6 years ago
- Extends minimatch.match() with support for multiple patterns☆303Updated last year
- when you want to fire an event no matter how a process exits.☆191Updated last year
- Finds the common standard cache directory☆158Updated 3 weeks ago
- Check if something is a Node.js stream☆111Updated 6 months ago
- Like which(1) unix command. Find the first instance of an executable in the PATH.☆336Updated 3 weeks ago
- Write a package.json file☆88Updated 9 months ago