gps-speed
Convert speed in km/h from speed in 1/1000th knots
Last updated 4 years ago by francesco .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install gps-speed 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.0                                ...           latest (4 years ago)

1 Versions

  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (0)
None
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |