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
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- Gracefully restore the CLI cursor on exit☆38Updated last year
- Create a Vinyl file from an actual file☆41Updated 2 years ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 5 months ago
- Regular expression for matching reserved filename characters☆50Updated 3 years ago
- Check if a value is a plain object☆102Updated last year
- Check if a file path is a binary file☆46Updated last year
- Get the auth token set for an npm registry☆34Updated 5 months ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆37Updated last year
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Filter object keys and values into a new object☆102Updated last year
- Start a promise chain☆58Updated 3 years ago
- Create a MD5 hash with hex encoding☆45Updated 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
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated last year
- Check if your package was installed globally☆70Updated last year
- Get your PATH prepended with locally installed binaries☆105Updated 9 months ago
- A list of directories you should ignore by default☆23Updated 3 years ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- A module which will endeavor to guess your terminal's level of color support.☆23Updated 6 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆49Updated last year
- Strip the final newline character from a string/buffer☆36Updated 9 months ago
- Check if a value is an object☆40Updated 4 years ago
- Indent each line in a string☆113Updated 3 years ago
- Trim newlines from the start and/or end of a string☆48Updated 2 years ago
- Get the path of the parent module☆77Updated last year
- Get the path of the caller module☆64Updated 3 years ago