country-code-dateformat
v1.0.12
Published
country-code-dateformat is a inventory of Country's code, dial code, date-format, flag and states.
Downloads
20
Maintainers
Readme
country-code-dateformat
country-code-dateformat is a inventory of Country's code, dial code, date-format, flag and states.
New Update!!!
Now get the list of states in the country when querying with country's name.
Installation
Use the package manager country-code-dateformat to install country-code-dateformat.
npm install country-code-dateformat --save
Usage
const countryCodeandFormat = require('country-code-dateformat');
console.log(countryCodeandFormat()); //To get all the countries details
console.log(countryCodeandFormat('India')); //To get specific country's details
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.