Package Exports
- stopwatch.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (stopwatch.js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
stopwatch.js
JavaScript stopwatch
Installation
In node:
npm install stopwatch.js --saveUsage
import { Stopwatch, Output } from 'stopwatch.js'
const stopwatch = new Stopwatch();
stopwatch.start(function(time) {
console.log(time); // 00:00:01:95, 00:00:02:00, 00:00:02:15, ...
})
stopwatch.stop();
stopwatch.reset();
stopwatch.lap(); // 00:00:02:95Author
- Rajeev Sharma
License:
MIT License
Copyright (c) 2017 Rajeev Sharma