gps-speed

1.0.0 • Public • Published

gps-speed

Build Status Known Vulnerabilities https://david-dm.org/ceccode/gps-speed.svg

Convert speed in km/h from speed in 1/1000th knots

Installation

npm install gps-speed

Usage

const gpsSpeed = require('gps-speed');

const speed = 15902;
const speed_km_h = gpsSpeed.convert(speed);
console.log(speed_km_h); //29.450504

API

convert(speed)

const gpsSpeed = require('gps-speed');

gpsSpeed.convert(15902); //29.450504
gpsSpeed.convert(); //0

Test

npm test

Coverage

npm run-script test-travis

License

MIT license

Readme

Keywords

Package Sidebar

Install

npm i gps-speed

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • francesco