Package Exports
- chinese2digit
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (chinese2digit) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Chinese to Digit
transform chinese digit to general digit
Install
npm install chinese2digitHow to use
var chinese2digit = require('chinese2digit');
var transformedNumber = chinese2digit('四千八百萬');
assert(transformedNumber, 48000000);