smhi-thunder
v1.0.1
Published
A client for the SMHI Open Data Thunder API
Downloads
3
Maintainers
Readme
Thunder
A client for the SMHI Open Data API for lightning strikes
Installation
npm install @novagen/thunder
Usage
import * as Thunder from '@novagen/thunder';
const client = new Thunder.Client('my-username', 'my-password');
client.on(Thunder.Events.STRIKE, (s) => { console.log(s); });
client.start();