Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    weathernautpublic

    // weather(or)naut

    weather information in the terminal. data provided by wunderground.com's JSON API.

    install

    $ npm install -g weathernaut

    use

    astronomical information (i.e., moon phase, sunrise and sunset times):

    $ weathernaut -s astronomy -z [zipcode] -k [your weather underground api key]

    basic weather forecast:

    $ weathernaut -s forecast -z [zipcode] -k [your weather underground api key] -d [number of days]

    hacking + building from source

    to build:

    $ make clean && make

    things to hack:

    • in src/index.coffee, you'll find three classes: Weathernaut, WeathernautStore, and WeathernautDefaultFormatter. you get one guess, so eat your wheaties.

    authors / contributors

    bryn austin bellomy <bryn.bellomy@gmail.com>

    license (WTFPL v2)

    DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE Version 2, December 2004

    Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>

    Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed.

    DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

    1. You just DO WHAT THE FUCK YOU WANT TO.

    install

    npm i weathernaut

    Downloadsweekly downloads

    8

    version

    0.0.5

    license

    WTFPLv2

    repository

    github.com

    last publish

    collaborators

    • avatar