yaswanth-pula / random-places

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

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


Languages

Language:JavaScript 100.0%