JSPM

@wcxi/money-to-chinese

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q25038F
  • License MIT

Convert the amount to Chinese uppercase.

Package Exports

  • @wcxi/money-to-chinese
  • @wcxi/money-to-chinese/lib/index.js

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 (@wcxi/money-to-chinese) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

money to chinese

JavaScript function for converting amount to Chinese uppercase.

Installation

npm install moneyToChinese

Usage

import moneyToChinese form 'moneyToChinese';

moneyToChinese(100.15);
//⇒ "壹佰元壹角伍分"

moneyToChinese('100.15');
//⇒ "壹佰元壹角伍分"

License

MIT © Jie Wang