extract-country-state-city-from-zip
Advanced tools
Comparing version 1.0.1 to 1.0.3
@@ -75,3 +75,3 @@ var fetch = require("node-fetch"); | ||
response.json().then(function(data) { | ||
callback(null, data.results[0]); | ||
callback(null, extractAddress(data)); | ||
}); | ||
@@ -78,0 +78,0 @@ } |
{ | ||
"name": "extract-country-state-city-from-zip", | ||
"version": "1.0.1", | ||
"version": "1.0.3", | ||
"description": "This package extracts country, state and city from any zip code, user need to provide zip code and google api access key", | ||
@@ -9,2 +9,6 @@ "main": "index.js", | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/dinesh-rawat/extract-country-state-city-from-zip.git" | ||
}, | ||
"keywords": [ | ||
@@ -27,5 +31,5 @@ "google", | ||
"dependencies": { | ||
"extract-country-state-city-from-zip": "^1.0.0", | ||
"extract-country-state-city-from-zip": "^1.0.1", | ||
"node-fetch": "^2.6.0" | ||
} | ||
} |
@@ -1,4 +0,3 @@ | ||
var x = require('extract-country-state-city-from-zip'); | ||
var x = require('./index.js'); | ||
console.log(x) | ||
x(248001, 'AIzaSyDqZ5w4dZlSKCEnBRbMsSQH4N3P8KBHi54', (er, res) => console.info(err, res)); | ||
x(248001, 'A111SyDqZ5w4dZlSKCEnBRbMsSQH4N3P8KBHi54', (err, res) => console.info(err, res)); |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4211
5
0
1
1
37
0
74