encoding-checker

1.1.9 • Public • Published

encoding-checker

npm version downloads count travis-ci

🛠 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 current directory

> encoding-checker

[ascii] .gitignore
[ascii] .travis.yml
[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

Supported Operating Systems (tested via Travis)

  • Linux
  • macOS (there is a problem on Travis, but it works on my local machine)
  • Microsoft Windows

License

The MIT License @ 2015

Package Sidebar

Install

npm i encoding-checker

Weekly Downloads

14

Version

1.1.9

License

MIT

Unpacked Size

7.99 kB

Total Files

7

Last publish

Collaborators

  • piecioshka