sjis-utf8

1.0.1 • Public • Published

sjis-utf8

A small Node CLI for converting Shift-JIS encoded file into a UTF-8 encoded file.

Usage

To convert then encoding of a file e.g sjis-file.csv, run the following command.

npx sjis-utf8 -f sjis-file.csv -o converted.csv

# Expected Output
Encoding updated successfully!
File created converted.csv

Below are the available options for the sjis-utf8 command.

Usage: sjis-utf8 [options]

Options:
  -V, --version            output the version number
  -f, --file <filePath>    The path of the File you want to convert.
  -o, --output <filePath>  The path where the converted File will be saved.
  -e, --encoding <value>   The target encoding of the converted File. (default: "UTF8")
  -h, --help               display help for command

Test

Run the following command in the terminal

npm run test

Package Sidebar

Install

npm i sjis-utf8

Weekly Downloads

7

Version

1.0.1

License

ISC

Unpacked Size

8.22 kB

Total Files

10

Last publish

Collaborators

  • jamesgordo