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
- Ponyfill for Error#captureStackTrace☆62Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆61Updated 9 months ago
- Gracefully restore the CLI cursor on exit☆39Updated last year
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆61Updated 2 months ago
- Check if a value is a plain object☆103Updated last year
- Check if your package was installed globally☆69Updated 2 years ago
- Get your PATH prepended with locally installed binaries☆105Updated last year
- Filter object keys and values into a new object☆105Updated last year
- Regular expression for matching reserved filename characters☆51Updated 2 months ago
- Get the directory of globally installed packages and binaries☆76Updated 2 years ago
- Check if argv has a specific flag☆95Updated 4 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆50Updated 2 months ago
- A module which will endeavor to guess your terminal's level of color support.☆23Updated 7 years ago
- Start a promise chain☆60Updated 2 months ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆63Updated last year
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years 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…☆96Updated 2 years ago
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Create a Vinyl file from an actual file☆42Updated 2 years ago
- Check if a value is an object☆42Updated 4 years ago
- Wordwrap a string with ANSI escape codes☆130Updated 2 months ago
- Strip the final newline character from a string/buffer☆37Updated last year
- Check whether a request can be retried based on the `error.code`☆82Updated 3 years ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Check if a file path is a binary file☆48Updated last year
- Get the visual width of the widest line in a string - the number of columns required to display it☆39Updated 2 years ago
- Make a function mimic another one☆96Updated last year
- Get the path of the caller module☆66Updated 4 years ago