1.0.3 • Published 2 years ago

c2nmoney v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

将中文金额转换为数字。

安装

npm install c2nmoney

使用

const c2nmoney = require('c2nmoney');
const c2n = c2nmoney.c2n;

let cM = "两百";
let nM = c2n(cM).n;//{code:0, c:"两百",n:200}

协议

ISC

更新内容

  1. 更改README.md中的“使用”中错误
  2. 增加npm包的关键字
  3. 修改目录结构(增加lib文件夹)