legacify-charset
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

legacify-charset

Encode charset from UTF-8 to legacy one.

Usage

# install
$ npm i -g legacify-charset

# encode
$ legacify-charset --encoding euc-jp src/**/*

All files matched with the glob pattern are encoded from UTF-8 to specified charset.

In addition, .html and .css files will be replaced its charset meta data such as <meta charset="uft-8"> and @charset "utf-8";.

License

MIT

Package Sidebar

Install

npm i legacify-charset

Weekly Downloads

0

Version

0.2.0

License

MIT

Unpacked Size

11.3 kB

Total Files

11

Last publish

Collaborators

  • ktsn