1.0.1 • Published 2 years ago
smhi-thunder v1.0.1
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();
1.0.1
2 years ago