babel-plugin-calculate-cn
v1.0.6
Published
A Babel plugin that calculates the number of Chinese characters in your code and outputs them to a CSV file.
Downloads
2
Readme
calculate-cn-plugin
A Babel plugin that calculates the number of Chinese characters in your code and outputs them to a CSV file.
Installation
# use npm
$ npm i calculate-cn-plugin
# use yarn
$ yarn add calculate-cn-plugin
Usage
- use
npm i
oryarn install
command to install all dependencies. - configure your babel in your project that mean
babel.config.js
. - specify your babel plugin as
calculate-cn-plugin
. - happy hacking.