UNPKG

cnyexchangerate

Version:

many currencies to CNY or RMB exchange rate

20 lines (12 loc) 305 B
get the exchange rate for the many currencies to CNY #Install npm i cnyexchangerate -s #Usage 1. get the USD dollar rate ```javascript const cnyex=require('cnyexchangerate'); (async ()=>{ let res=await cnyex.getRate("USD") })(); ``` 2.you can use JPY,EUR etc.