🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

gfs-weather-leaflet

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gfs-weather-leaflet

Leaflet layer for rendering data from gfs-weather-server on leaflet maps

1.1.2
latest
npm
Version published
Weekly downloads
2
100%
Maintainers
2
Weekly downloads
 
Created
Source

gfs-weather-leaflet

Leaflet layer for rendering data from gfs-weather-server on leaflet maps.

Installation

npm i gfs-weather-leaflet --save

Usage

import {GFSLayer, ColorScale} from 'gfs-weather-leaflet'
const map = /* ... */

new GFSLayer({
  type: 'prate',
  surface: 'surface',
  date: new Date(new Date().setUTCHours(0, 0, 0, 0)),
  forecast: 0,
  baseUrl: 'http://gfs.weather.server'
})
.addTo(map)

License

This package is licensed under the MIT license. See MIT for details.

FAQs

Package last updated on 19 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts