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:
- Gracefully restore the CLI cursor on exit☆40Updated last year
- 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 3 months ago
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Create a MD5 hash with hex encoding☆47Updated 2 years ago
- Check if a string matches the name of a Node.js builtin module☆62Updated 10 months ago
- Check if a value is a plain object☆103Updated last year
- Ponyfill for Error#captureStackTrace☆63Updated 3 years ago
- Check if your package was installed globally☆70Updated 2 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…☆95Updated 3 years ago
- Get your PATH prepended with locally installed binaries☆106Updated last year
- Start a promise chain☆60Updated 3 months ago
- Filter object keys and values into a new object☆105Updated last year
- Regular expression for matching reserved filename characters☆52Updated 3 months ago
- Check if a value is an object☆42Updated 4 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆51Updated 4 months ago
- Check if a file path is a binary file☆49Updated last year
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 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
- A module which will endeavor to guess your terminal's level of color support.☆23Updated 7 years ago
- Strip the final newline character from a string/buffer☆38Updated last year
- Write a package.json file☆89Updated 3 months ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 7 years ago
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Check if argv has a specific flag☆96Updated 4 years ago
- A list of directories you should ignore by default☆23Updated 3 years ago
- Check if the process is running with elevated privileges☆43Updated 4 years ago
- Easily handle defaults for your options☆76Updated 2 years ago
- Check if a Buffer/Uint8Array is a GIF image☆30Updated 3 years ago