What is this? Get Country Cod from this is Packge Installation npm i getcountrycode-cli --save Then... # Exampl import getCountryCode from 'getcountrycode-cli'; console.log(getCountryCode('belgium')) You have to Add in packge.json "type":"module"