noaa-weather

v0.0.4
My wicked module

noaa-weather Build Status

A Small NPM Module for displaying the JSON Marine Forecast straight from NOAA

Install

$ npm install --save noaa-weather

Usage

const noaaWeather = require('noaa-weather');

noaaWeather('Miami, Fl');
//=> returns json of current conditions in Miami Florida

API

noaaWeather(location[latitude], [longitude])

location

Type: string

If location is a string and a valid location,will return a json promise of the current conditions in that location

latitude

Type: Number

If the location is not a string but rather a number, will search using latitude and longitude specified

longitude

Type:Number

Same as above.

License

MIT © Nick The Sick

npm i noaa-weather

Metadata

  • MIT
  • >=4
  • Nick The Sick
  • released 1/13/2017

Downloads

Maintainers