encoding-checker
v1.1.18
Published
🔨 Tool to investigate files with different encoding than passed
Downloads
198
Maintainers
Readme
encoding-checker
🔨 Tool to investigate files with different encoding than passed
Install
npm install -g encoding-checker
Usage
Usage: encoding-checker [-p pattern] [-i encoding] [-v]
Options:
--help Show help [boolean]
--version Show version number [boolean]
--pattern, -p, -d [default: "*"]
--ignore-encoding, -i [default: ""]
--verbose, -v [default: false]
Examples
➡️ Use case: All files in the current directory
> encoding-checker
[ascii] .gitignore
[ascii] index.js
[ascii] package-lock.json
[ascii] package.json
[ascii] README.md
[ascii] wallaby.js
➡️ Use case: All *.md files in current directory
encoding-checker -p "*.md"
➡️ Use case: Recursive directory
encoding-checker -p "**"
encoding-checker -p "../**"
➡️ Use case: Ignore all files with encoding "ascii"
encoding-checker -i "ascii"
➡️ Use case: Append number of results
encoding-checker -v
License
The MIT License @ 2015