Giter VIP home page Giter VIP logo

cli-weather's Introduction

cli-weather

NPM

npm npm node Build status npm GitHub issues

A simple client to get weather in your terminal. Working on a project but need to run across the street to Jimmy John's to get your food? Instead of looking up the weather online, just run weather from your terminal and get instant, accurate location-based weather (current and 4-day forecast!).

installation

$ npm install cli-weather -g

usage

$ weather
$ weather -a "Atlanta, GA"
$ weather --address="Atlanta, GA"
$ weather --lat=34.1036 --long=-84.6374

units

Use the -c option flag to specify metric units (celsius for temp and meters per second for windspeed)

$ weather -c

configuration

If you always want to see weather for a particular area or with celsius instead of fahrenheit, pass --save or -s along with your preferred values, and the next time you run weather without any arguments, it will get those values and give you weather for them.

sample output

Fahrenheit

Sample output in F

Celsius

Sample output in C

Saving

Sample save output

Custom Location

Sample custom location output;

api

coming soon...

The cli-weather api will allow you to require() cli-weather in your apps/sites and get all the data and formatting that powers this module.

cli-weather's People

Contributors

dvidsilva avatar ericasberry avatar pizzimathy avatar snollygolly avatar wevanscfi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.