1.0.1 • Published 2 years ago

iso-3166-codes v1.0.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

Introduction

ISO 3166 Country Codes Lookup

Simple utility that returns country name for given country code

How to use?

  1. Install dependency npm install iso-3166-codes --save
  2. Require in your JS file const { getCountryName } = require('iso-3166-codes');
  3. Get country name based on two character long ISO 3166 code: const country = getCountryName('XX');
  4. Enjoy!