https://github.com/tarunbatra/vehicle-state
https://github.com/tarunbatra/vehicle-state
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tarunbatra/vehicle-state
- Owner: tarunbatra
- Created: 2021-08-23T20:15:28.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-23T20:23:44.000Z (about 4 years ago)
- Last Synced: 2025-01-12T10:26:58.850Z (9 months ago)
- Language: JavaScript
- Size: 58.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vehicle State
The records vehicle state like total distance travelled and the duration using waypoints supplied. It also keeps track of distance and duration for which the vehicle was speeding.
## Sample run
```
npm start
```
To see different results, try changing the file [`waypoints.json`](./waypoints.json).
## Test
```
npm t
```
It uses `tap` as testing framework.