sindresorhus / detect-indent-cli

Detect the indentation of code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Detect the indentation of code

License:MIT License


Languages

Language:JavaScript 100.0%