detect-indent-cli

3.0.0 • Public • Published

detect-indent-cli

Detect the indentation of code

Install

npm install --global detect-indent-cli

Usage

$ detect-indent --help

  Usage
    $ detect-indent <file>
    echo <string> | detect-indent

  Example
    $ echo '  foo\n  bar' | detect-indent | wc --chars
    2

Related

Package Sidebar

Install

npm i detect-indent-cli

Weekly Downloads

2

Version

3.0.0

License

MIT

Unpacked Size

3.35 kB

Total Files

4

Last publish

Collaborators

  • sindresorhus