sindresorhus / detect-indentLinks
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 2 weeks ago
- Detect the dominant newline character of a string☆55Updated last year
- Read a package.json file☆168Updated last year
- Get the gzipped size of a string or buffer☆172Updated 3 years ago
- Write a package.json file☆88Updated 10 months ago
- when you want to fire an event no matter how a process exits.☆190Updated last year
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Indent each line in a string☆113Updated 3 years ago
- Detects if a file is binary in Node.js. Similar to Perl's -B☆165Updated 7 months ago
- Reliably get the terminal window size☆141Updated last year
- Truncate a string to a specific width in the terminal☆87Updated last year
- Check if your package was installed globally☆70Updated last year
- Make a callback- or promise-based function support both promises and callbacks.☆112Updated last year
- Convert a value to an array☆129Updated 3 years ago
- Easily handle defaults for your options☆74Updated last year
- Get namespaced config from the closest package.json☆121Updated 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
- normalizes package metadata, typically found in package.json file.☆201Updated 2 months ago
- Let a globally installed package use a locally installed version of itself if available☆154Updated 10 months ago
- Get the real path of the system temp directory☆83Updated 2 years ago
- Check if a value is a plain object☆102Updated last year
- Toggle the CLI cursor☆108Updated 10 months ago
- Find the root directory of a Node.js project or npm package☆245Updated 2 weeks ago
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆98Updated last year
- Read the closest package.json file☆268Updated last year
- Filter object keys and values into a new object☆101Updated last year
- Check if argv has a specific flag☆95Updated 3 years ago
- Get the latest version of an npm package☆176Updated last year
- Get the path of the parent module☆77Updated last year
- Import a module like with `require()` but from a given path☆85Updated 2 years ago