Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

legacify-charset

ktsn17MIT0.2.0TypeScript support: included

Encode charset from UTF-8 to legacy one

charset, encoding, convert, utf-8, cli

readme

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