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
- Get the first path that exists on disk of multiple paths☆60Updated last month
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Check if a string matches the name of a Node.js builtin module☆61Updated 7 months ago
- Check if your package was installed globally☆69Updated last year
- Check if a value is a plain object☆103Updated last year
- Ponyfill for Error#captureStackTrace☆61Updated 3 years ago
- Get your PATH prepended with locally installed binaries☆104Updated 11 months ago
- Check if a file path is a binary file☆47Updated last year
- Write a package.json file☆89Updated last month
- Filter object keys and values into a new object☆104Updated last year
- 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
- Check if a value is an object☆41Updated 4 years ago
- Check if argv has a specific flag☆93Updated 4 years ago
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Gracefully restore the CLI cursor on exit☆39Updated last year
- Create a Vinyl file from an actual file☆42Updated 2 years ago
- Get the directory of globally installed packages and binaries☆76Updated last year
- Strip the final newline character from a string/buffer☆36Updated 11 months ago
- Wordwrap a string with ANSI escape codes☆129Updated last month
- Indent each line in a string☆113Updated 3 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆49Updated last month
- Tests whether one path is inside another path☆42Updated 5 years ago
- A module which will endeavor to guess your terminal's level of color support.☆23Updated 7 years ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Regular expression for matching reserved filename characters☆50Updated last month
- Start a promise chain☆60Updated last month
- A list of directories you should ignore by default☆23Updated 3 years ago
- Easily handle defaults for your options☆75Updated 2 years ago
- Check if your code is running as an npm or yarn script☆64Updated last month