Easy Countries List
This package is a easy standar countries list.
Salesforce and Zuora used this countries list.
Installation
npm i --save easy-countries-list
Usage
Function:
- #### Get all countries:
; const countries = EasyCountriesList;
Return object:
... name: 'United States' countryCode: 'US' // ISO alpha-2 ...
- #### Filter by Country Name:
; const countries = EasyCountriesList;
Return object:
name: 'United States' countryCode: 'US' // ISO alpha-2 countryCodeThree: 'USA' // ISO alpha-3
- #### Filter by Country Code:
; const countries = EasyCountriesList;
Return object:
name: 'United States' countryCode: 'US' // ISO alpha-2 countryCodeThree: 'USA' // ISO alpha-3
- #### Filter by Country Code Three:
; const countries = EasyCountriesList;
Return object:
name: 'United States' countryCode: 'US' // ISO alpha-2 countryCodeThree: 'USA' // ISO alpha-3
Next Feature
- Add states list for US and Canada.