A simple data set of country calling codes.
npm install calling-codes -D
Import the data into your JavaScript using:
import countries from 'calling-codes'
You then have access to all of the data using countries
Each item has the following properties:
{
name: 'string',
callingCode: 'string',
}