sindresorhus / detect-indent
Detect the indentation of code
☆196Updated last year
Related projects ⓘ
Alternatives and complementary repositories for detect-indent
- Find the closest package.json file☆159Updated last year
- Read a package.json file☆166Updated 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☆184Updated last year
- normalizes package metadata, typically found in package.json file.☆196Updated last month
- Get the gzipped size of a string or buffer☆171Updated 3 years ago
- Check if your package was installed globally☆70Updated last year
- Write a package.json file☆89Updated 3 months ago
- Wordwrap a string with ANSI escape codes☆120Updated last year
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆107Updated 2 years ago
- Let a globally installed package use a locally installed version of itself if available☆154Updated 4 months ago
- Detects if a file is binary in Node.js. Similar to Perl's -B☆165Updated last month
- Toggle the CLI cursor☆103Updated 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…☆91Updated last year
- Check if a path exists☆150Updated 2 years ago
- Finds the common standard cache directory☆151Updated 9 months ago
- Find the root directory of a Node.js project or npm package☆235Updated last year
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆144Updated last year
- Read the closest package.json file☆258Updated last year
- Check if a path is a file, directory, or symlink☆75Updated 3 months ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆141Updated 2 years ago
- Brace expansion, as known from sh/bash, in JavaScript☆187Updated 8 months ago
- Check if a value is a plain object☆102Updated 6 months ago
- Get metadata of a package from the npm registry☆237Updated 4 months ago
- Convert a value to an array☆131Updated 3 years ago
- Truncate a string to a specific width in the terminal☆86Updated last year
- Resolve the path of a module like require.resolve() but from a given path☆140Updated 3 years ago
- Import a globally installed module☆57Updated 10 months ago
- Parse the things that can be arguments to `npm install`☆125Updated last month
- Reliable way to to get the height and width of the terminal/console in a node.js environment.☆82Updated 3 months ago