About
A list of all countries that can be used in form dropdown options.
Collection Sample
Country
{
"code": "PH",
"name": "Philippines",
"timezone": "Asia/Manila"
}
Installation
$ npm install @dropdowns/countries
Usage
Import the package in your application.
import dropdown from "@dropdowns/countries";
Available Methods
Method | Description | Example |
---|---|---|
getAllCountries() | Show all countries | dropdown.getAllCountries() |
License
Licensed under MIT