Skip to content

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

Notifications You must be signed in to change notification settings

FelipeGrijo/random-places

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RANDOM PLACES

A simple NPM Package which returns random places from around the world

image of world

Install

npm install random-places

OR

yarn add random-places

Usage

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

getRandomPlace();

Response

The get random place function returns a JSON object that contains the name and country of the random place

{
    "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🧑‍💻

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%