sindresorhus / detect-indentLinks
Detect the indentation of code
☆197Updated last month
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☆165Updated 4 months ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Get the latest version of an npm package☆175Updated last year
- Read a package.json file☆170Updated last year
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Indent each line in a string☆113Updated 3 years ago
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆111Updated 3 years ago
- normalizes package metadata, typically found in package.json file.☆203Updated this week
- Wordwrap a string with ANSI escape codes☆129Updated last month
- Get metadata of a package from the npm registry☆243Updated last year
- Check if your package was installed globally☆69Updated last year
- Toggle the CLI cursor☆112Updated last year
- Write a package.json file☆89Updated last month
- Find the root directory of a Node.js project or npm package☆246Updated 4 months ago
- Truncate a string to a specific width in the terminal☆87Updated last month
- 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
- Reliably get the terminal window size☆144Updated last year
- Detects if a file is binary in Node.js. Similar to Perl's -B☆167Updated last month
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆142Updated last month
- Convert a value to an array☆131Updated 3 years ago
- Easily handle defaults for your options☆75Updated 2 years ago
- Get your PATH prepended with locally installed binaries☆104Updated 11 months ago
- Check if argv has a specific flag☆93Updated 4 years ago
- Filter object keys and values into a new object☆104Updated last year
- Get namespaced config from the closest package.json☆120Updated last year
- Strip leading whitespace from each line in a string☆142Updated last week
- Finds the common standard cache directory☆159Updated 6 months ago
- Check if a value is a plain object☆103Updated last year
- Walk through a folder and figure out what goes in an npm package☆114Updated this week
- Converts a source-map from/to different formats.☆170Updated 6 months ago