sindresorhus / detect-indentLinks
Detect the indentation of code
☆197Updated 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☆165Updated 3 months ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆184Updated 2 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆141Updated 3 years ago
- Check if your package was installed globally☆70Updated last year
- Indent each line in a string☆113Updated 3 years ago
- Convert a value to an array☆129Updated 3 years ago
- Get metadata of a package from the npm registry☆243Updated last year
- normalizes package metadata, typically found in package.json file.☆203Updated last month
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆111Updated 2 years ago
- Read a package.json file☆171Updated last year
- Write a package.json file☆88Updated last year
- Finds the common standard cache directory☆158Updated 5 months ago
- Get the latest version of an npm package☆176Updated last year
- Walk through a folder and figure out what goes in an npm package☆112Updated last month
- A static list of the Node.js builtin modules from the latest Node.js version☆123Updated 6 months ago
- Wordwrap a string with ANSI escape codes☆128Updated last year
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆145Updated 2 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Get the gzipped size of a string or buffer☆172Updated 3 years ago
- Strip leading whitespace from each line in a string☆137Updated 3 years ago
- Detects if a file is binary in Node.js. Similar to Perl's -B☆167Updated last week
- Find the root directory of a Node.js project or npm package☆246Updated 3 months ago
- Check if a value is a plain object☆102Updated last year
- Import a globally installed module☆58Updated last year
- Brace expansion, as known from sh/bash, in JavaScript☆195Updated 2 months ago
- Toggle the CLI cursor☆111Updated last year
- Make a callback- or promise-based function support both promises and callbacks.☆111Updated last year
- Reliably get the terminal window size☆144Updated 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…☆95Updated 2 years ago
- Captures and cleans stack traces.☆194Updated last year