chardet-cli A simple wrapper for chardet (Node.js version) Usage > [sudo] npm install -g chardet-cli > chardet filename.txt