sindresorhus / detect-newlineLinks
Detect the dominant newline character of a string
☆55Updated last year
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☆78Updated last year
- Check if a value is a plain object☆102Updated last year
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 6 months ago
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- A module which will endeavor to guess your terminal's level of color support.☆23Updated 6 years ago
- Get your PATH prepended with locally installed binaries☆105Updated 10 months ago
- A list of directories you should ignore by default☆23Updated 3 years ago
- Create a MD5 hash with hex encoding☆45Updated last year
- Indent each line in a string☆113Updated 3 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Check if your package was installed globally☆70Updated last year
- Filter object keys and values into a new object☆104Updated last year
- Create a Vinyl file from an actual file☆41Updated 2 years ago
- Gracefully restore the CLI cursor on exit☆38Updated last year
- Start a promise chain☆58Updated 3 years ago
- Check whether a request can be retried based on the `error.code`☆81Updated 3 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆49Updated last week
- Check if a file path is a binary file☆46Updated last year
- Get the auth token set for an npm registry☆34Updated 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
- Regular expression for matching reserved filename characters☆50Updated 3 years ago
- Check if argv has a specific flag☆93Updated 4 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆38Updated last year
- Get the path of the caller module☆65Updated 3 years ago
- Wordwrap a string with ANSI escape codes☆128Updated last year
- Tests whether one path is inside another path☆42Updated 5 years ago
- Check if a Buffer/Uint8Array is a GIF image☆28Updated 3 years ago
- Check if the process is running with elevated privileges☆41Updated 4 years ago