Gathering detailed insights and metrics for rn-currency-formatter
Gathering detailed insights and metrics for rn-currency-formatter
Gathering detailed insights and metrics for rn-currency-formatter
Gathering detailed insights and metrics for rn-currency-formatter
npm install rn-currency-formatter
Typescript
Module System
Min. Node Version
Node Version
NPM Version
TypeScript (99.05%)
JavaScript (0.95%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
6 Commits
1 Watchers
2 Branches
2 Contributors
Updated on Jan 15, 2025
Latest Version
1.1.4
Package Id
rn-currency-formatter@1.1.4
Unpacked Size
68.47 kB
Size
14.56 kB
File Count
17
NPM Version
9.8.1
Node Version
18.18.0
Published on
Jan 15, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
753
2
19
This is React Native library that helps convert currency symbols into their corresponding ISO currency codes, country names, and amounts, and also works in reverse.
1npm install rn-currency-formatter
or
1yarn add rn-currency-formatter
1import { getSymbolInfo, getCodeInfo } from 'rn-currency-formatter'; 2 3// ... 4 5const symbolInfo = await getSymbolInfo("$14.6"); 6 7const codeInfo = await getCodeInfo("USD 14.6"); 8 9 10// console.log("result : ", symbolInfo or codeInfo) 11output = { 12 "symbol": "$", 13 "currency_code": "USD", 14 "country": "United States Dollar", 15 "country_code": "US" 16 "amount": 14.6 17} 18 19
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library
No vulnerabilities found.
No security vulnerabilities found.