JSPM

chinese2digit

1.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q17152F
  • License MIT

transform chinese digit to general digit

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

build status

transform chinese digit to general digit

Install

npm install chinese2digit

How to use

var chinese2digit = require('chinese2digit');

var transformedNumber = chinese2digit('四千八百萬');
assert(transformedNumber, 48000000);