detect-newline-cli
Detect the dominant newline character
Last updated 4 years ago by sindresorhus .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install detect-newline-cli 
SYNC missed versions from official npm registry.

detect-newline-cli Build Status

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

License

MIT © Sindre Sorhus

Current Tags

  • 1.0.0                                ...           latest (4 years ago)

1 Versions

  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (3)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |