detect-newline-cli

2.0.0 • Public • Published

detect-newline-cli

Detect the dominant newline character

Install

npm install --global detect-newline-cli

Usage

$ detect-newline --help

  Usage
    $ detect-newline <string>
    $ cat unicorn.txt | detect-newline

  Example
    $ detect-newline "$(printf 'Unicorns\nRainbows')"
    \n

Related

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.0
    3
  • 1.0.0
    0

Package Sidebar

Install

npm i detect-newline-cli

Weekly Downloads

3

Version

2.0.0

License

MIT

Unpacked Size

3.19 kB

Total Files

4

Last publish

Collaborators

  • sindresorhus