Package Exports
- encoding-checker
- encoding-checker/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (encoding-checker) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
encoding-checker
🔨 Tool to investigate files with different encoding than passed
Usage
Installation:
npm install -g encoding-checker
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