Skip to content

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

License

Notifications You must be signed in to change notification settings

ceccode/gps-speed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published