Country list with dial code and flag
npm install country-list-with-dial-code-and-flag !ts !contributors
This package provide all country list with their flag emoji, flag svg and dial number code.
#### Via NPM
``sh`
npm install country-list-with-dial-code-and-flag
`ts
import CountryList from 'country-list-with-dial-code-and-flag'
CountryList.getAll()
// Response => Array
CountryList.findOneByCountryCode('MM')
// Response => Country
CountryList.findOneByDialCode('+95')
// Response => Country
CountryList.findByDialCode('+95')
// Response => Array
CountryList.findByKeyword('united')
// Response => Array
CountryList.findByCurrencyCode('TRY')
// Response => Array
CountryList.findOneByCurrencyCode('TRY')
// Response => Country
`
#### Via CDN
`html
https://cdn.jsdelivr.net/npm/country-list-with-dial-code-and-flag@latest/dist/main.js
`
##### With specific version number
`bash`
https://cdn.jsdelivr.net/npm/country-list-with-dial-code-and-flag@5.0.4/dist/main.js
##### Country Flag SVG (optional)
`html`
`html``
Want to contribute? Great!
Fork the repo and create PR to us.