Skip to content

Commit

Permalink
added cities module and updated module.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Sagar authored and Sagar committed Sep 21, 2018
1 parent f70db09 commit 5cb1d74
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion module.js
@@ -1,4 +1,7 @@
/* module.js */
const cities = require('cities');

exports.addlog = () => {
console.log(` module.js has loaded`)
var myCity = cities.zip_lookup(10016);
console.log(myCity);
}
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -7,6 +7,7 @@
"start": "node index.js"
},
"dependencies": {
"cities": "^1.1.2",
"node": "10.10.0"
},
"keywords": []
Expand Down

0 comments on commit 5cb1d74

Please sign in to comment.