3.0.0 • Published 3 years ago

detect-indent-cli v3.0.0

Weekly downloads
6
License
MIT
Repository
github
Last release
3 years ago

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