Skip to content

v1.1.0

Latest
Compare
Choose a tag to compare
@omkartapale omkartapale released this 25 Jun 18:57
· 8 commits to main since this release
e9992cd

New features

  • Added more functions to get list of specified details from country list
    • getAllCountryNames()
    • getAllAlpha2()
    • getAllAlpha3()
  • Added OutputType enum to specify return type

Changed features

  • Specify Return/Output types for find functions

    To specify the desired output format, you can optionally pass the second param to find functions (viz. - findCountry, findAlpha2, findAlpha3, findNum3). These functions will default return a country object if the parameter is not supplied.
    You can specify any value from the following: "obj", "name", "alpha2", "alpha3", "num3".

What's Changed

Full Changelog: v1.0.0...v1.1.0