/random-places

💡 A NPM Library to provide you random places throughout the world🧑‍💻

Primary LanguageJavaScript

GET RANDOM NAMES OF PLACES FROM ALL OVER THE WORLD

A simple NPM Package which returns [random places]

Usage

const place = require("random-places");

console.log(getRandomPlace());

getRandomPlace() returns an object containing name and country

{
  "name": "Geneva",
  "country": "Switzerland"
}

Want to contribute?

Open Source Love PRs Welcome

Please check issues here!

Add More Places (Recommended for beginners. Just add name of the place and country in data.json file)