current-ice-speed

2.0.0 • Public • Published

current-ice-speed

Get the speed of the ICE train you're sitting in.

npm version ISC-licensed support me via GitHub Sponsors chat with me on Twitter

Usage

npx current-ice-speed
# 264 km/h
npx current-ice-speed --json
# 264

npx current-ice-speed --json # in a tunnel
# null

npx current-ice-speed --refresh 5 # refresh speed every 5 seconds

API

speed()

Returns a Promise that resolves with the current speed in km/h.

Contributing

If you have a question or have difficulties using current-ice-speed, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to the issues page.

Package Sidebar

Install

npm i current-ice-speed

Weekly Downloads

4

Version

2.0.0

License

ISC

Unpacked Size

4.62 kB

Total Files

5

Last publish

Collaborators

  • derhuerst