calculate-cn-plugin
v1.1.0
Published
A Babel plugin that calculates the number of Chinese characters in your code and outputs them to a CSV file.
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-pluginUsage
- use
npm ioryarn installcommand 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.
