Skip to content

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

License

Notifications You must be signed in to change notification settings

nperez0111/noaa-weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published