Socket
Socket
Sign inDemoInstall

encoding-checker

Package Overview
Dependencies
34
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    encoding-checker

Tool to investigate files with different encoding than passed


Version published
Maintainers
1
Created

Readme

Source

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

:arrow_right: 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

:arrow_right: Use case: All *.md files in current directory

encoding-checker -p "*.md"

:arrow_right: Use case: Recursive directory

encoding-checker -p "**"
encoding-checker -p "../**"

:arrow_right: Use case: Ignore all files with encoding "ascii"

encoding-checker -i "ascii"

:arrow_right: 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

Keywords

FAQs

Last updated on 11 Oct 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc