node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »


Simple ISO Countries

A simple map of ISO 3166-2 common country names (in english) and alpha-2 codes

Note about missing ISO codes and countries

This module was originally an e-commerce site and for this reason some territories with duplicate codes have been removed. You can see the list in and if you want something more robust I recommend you look at iso-3166


npm install simple-iso-countries

var countries = require('simple-iso-countries');
function countryName(code) {
  return countries[code];


  • run tests with npm test