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☆79Updated last year
- Check if a string matches the name of a Node.js builtin module☆61Updated 8 months ago
- Ponyfill for Error#captureStackTrace☆61Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆60Updated 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
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Check if your package was installed globally☆69Updated 2 years ago
- Gracefully restore the CLI cursor on exit☆39Updated last year
- Check if a value is a plain object☆103Updated last year
- Regular expression for matching reserved filename characters☆51Updated last month
- Get your PATH prepended with locally installed binaries☆104Updated last year
- A module which will endeavor to guess your terminal's level of color support.☆23Updated 7 years ago
- Filter object keys and values into a new object☆104Updated last year
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Check whether a request can be retried based on the `error.code`☆81Updated 3 years ago
- Create a Vinyl file from an actual file☆42Updated 2 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆49Updated 2 months ago
- Create a MD5 hash with hex encoding☆46Updated 2 years ago
- Check if the process is running with elevated privileges☆42Updated 4 years ago
- Get the directory of globally installed packages and binaries☆76Updated 2 years ago
- Check if a value is an object☆41Updated 4 years ago
- Tests whether one path is inside another path☆42Updated 5 years ago
- Get the PATH environment variable key cross-platform☆45Updated last month
- Wordwrap a string with ANSI escape codes☆130Updated 2 months ago
- Check if a Buffer/Uint8Array is a GIF image☆29Updated 3 years ago
- Check if a file path is a binary file☆48Updated last year
- Write a package.json file☆89Updated last month
- contains checks that npm runs during the installation☆28Updated last week
- Check if argv has a specific flag☆94Updated 4 years ago