amount-capitalized-in-chinese
v0.2.1
Published
金额数字大写中文转换
Downloads
6
Maintainers
Readme
amount-capitalized-in-chinese
大写中文金额转换
Quick start
node
$ npm install --save amount-capitalized-in-chinese
const acic = require('amount-capitalized-in-chinese')
acic(123) => "壹佰贰拾叁元整"
browser
amountCapitalizedInChinese(123) => "壹佰贰拾叁元整"
How to build
$ npm run build or node rollup
generate flow format files:
index.js // cjs
module-name.amd.js // amd
module-name.es.js // es
module-name.iife.js // iife
module-name.umd.js // umd
$ node rollup umd amd
generate flow format files:
module-name.amd.js // amd
module-name.umd.js // umd
$ node rollup umd minimize
generate flow format files:
module-name.umd.js // umd
module-name.umd.min.js // umd minimize