sindresorhus / detect-newlineLinks
Detect the dominant newline character of a string
☆56Updated 2 years ago
Alternatives and similar repositories for detect-newline
Users that are interested in detect-newline are comparing it to the libraries listed below
Sorting:
- Check if a path is a file, directory, or symlink☆80Updated last year
- Get the first path that exists on disk of multiple paths☆62Updated 4 months ago
- Ponyfill for Error#captureStackTrace☆63Updated 3 years ago
- Get your PATH prepended with locally installed binaries☆107Updated last year
- Check if a string matches the name of a Node.js builtin module☆63Updated 11 months ago
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Check if a value is a plain object☆104Updated last year
- Check if the character represented by a given Unicode code point is fullwidth☆51Updated 4 months ago
- Check if your package was installed globally☆71Updated 2 years ago
- Filter object keys and values into a new object☆105Updated last year
- Gracefully restore the CLI cursor on exit☆41Updated last year
- Copy a file☆122Updated 5 months ago
- Check whether a request can be retried based on the `error.code`☆82Updated 3 years ago
- Create a Vinyl file from an actual file☆43Updated 3 years ago
- Get the directory of globally installed packages and binaries☆77Updated 2 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 7 years ago
- Regular expression for matching reserved filename characters☆52Updated 4 months ago
- Start a promise chain☆60Updated 4 months ago
- A module which will endeavor to guess your terminal's level of color support.☆23Updated 7 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆40Updated this week
- Check if argv has a specific flag☆96Updated 4 years ago
- A better `Promise.race()`☆51Updated 3 years ago
- Indent each line in a string☆115Updated 3 years ago
- Easily handle defaults for your options☆76Updated 2 years ago
- Check if the process is running with elevated privileges☆43Updated 4 years ago
- Break out of a promise chain☆24Updated 4 years ago
- Toggle the CLI cursor☆113Updated last year
- A list of directories you should ignore by default☆23Updated 3 years ago
- Check if a value is an object☆42Updated 4 years ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆63Updated last year