2.0.0 • Published 2 years ago

current-ice-speed v2.0.0

Weekly downloads
3
License
ISC
Repository
github
Last release
2 years ago

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.