This package has been deprecated

Author message:

Package no longer supported. Contact support@npmjs.com for more info.

leitstand-forecast

0.1.2 • Public • Published

leitstand-forecast NPM version Build Status Dependency Status

Forecast plugin for Leitstand

Installation

First, install leitstand-cli, if you haven't done yet. Then install the plugin as dependency into your Leitstand app via:

npm install leitstand-forecast --save

Usage

leitstand
  .plugin('forecast', {
    settings: {
      service: 'darksky',
      key: '<KEY>',
      units: 'celcius'
    }
  })
  .widget('forecast', {
    plugin: 'forecast',
    methods: {
      name: 'get',
      opts: [
        // see: http://www.latlong.net/
        [48.771371, 9.172061]
      ],
      key: 'forecast',
      schedule: '*/10 * * * *'
    }
  })

API

forecast

License

MIT © Sebastian Krüger

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i leitstand-forecast

    Weekly Downloads

    1

    Version

    0.1.2

    License

    MIT

    Last publish

    Collaborators

    • npm