1.0.2 • Published 7 years ago
async-weather v1.0.2
Async Weather
This is my first NPM package. It is a simple weather app which can display the weather in your location, or the weather of a city, if you provide a city name.
Usage
- Open your terminal/command prompt, and type
npm install async-weather
. - This will install the dependencies required by this package. Next, type
cd node_modules
- Next, go into the
async-weather
folder withcd async-weather
. - To get your weather, simply type
npm start
- To get the weather in a city of your choice, type
npm start -- -l city
, wherecity
is the name of the city, likenpm start -- -l Tokyo
. Note: For city names with more than one word, enclose the name in quotes, likenpm start -- -l "New York"
Credits
Developed by Manish Giri