current-ice-speed
v2.0.0
Published
Get the speed of the ICE train you're sitting in.
Downloads
6
Maintainers
Readme
current-ice-speed
Get the speed of the ICE train you're sitting in.
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.