Skip to content

novagen/smhi-thunder

Repository files navigation

Thunder

codecov DeepSource

A client for the SMHI Open Data API for lightning strikes

Installation

npm install @novagen/smhi-thunder

Usage

import { Client, Events } from '@novagen/smhi-thunder';

const client = new Client('my-username', 'my-password');
client.on(Events.STRIKE, (s) => { console.log(s); });

client.start();