country-list-js
Advanced tools
Comparing version 3.1.5 to 3.1.6
{ | ||
"name": "country-list-js", | ||
"version": "3.1.5", | ||
"version": "3.1.6", | ||
"description": "Country list with ISO2, ISO3 code, continent, capital, dialing code", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/i-rocky/country-list-js.git", |
@@ -119,3 +119,3 @@ # Country List JS | ||
```bash | ||
curl "https://npm-country-list-js.npm.now.sh/server.js?method=findByIso2&code=DK" | ||
curl "https://country-list-js.npm.now.sh/server.js?method=findByIso2&code=DK" | ||
``` | ||
@@ -126,3 +126,3 @@ returns a JSON object with information for Denmark. In Javascript you may use your fevourite | ||
const fetch = require('node-fetch') | ||
const url = 'https://npm-country-list-js.npm.now.sh/server.js?method=findByIso2&code=DK' | ||
const url = 'https://country-list-js.npm.now.sh/server.js?method=findByIso2&code=DK' | ||
fetch(url).then(res => res.json()) | ||
@@ -129,0 +129,0 @@ .then(o => { |
724741