countries-url
TypeScript icon, indicating that this package has built-in type declarations

1.0.9 • Public • Published

countries-url

This returns countries with the follwoing properties:

  • URLs
  • FIPs code
  • ISO code
  • Country name

API

getUrlIso2

This returns the URL of a country based on the ISO2 code.

const { getUrlIso2 } = require("countries-url");

getUrlIso2("VN");
// vietnam

Dependencies (0)

    Dev Dependencies (8)

    Package Sidebar

    Install

    npm i countries-url

    Weekly Downloads

    1

    Version

    1.0.9

    License

    ISC

    Unpacked Size

    58.9 kB

    Total Files

    12

    Last publish

    Collaborators

    • chidumennamdi