functional-timer

1.0.1 • Public • Published

functional-timer

Simple timer / stopwatch function that can be used to collect or log timing metrics.

const timer = require('functional-timer');
 
const instance = timer().start();
 
// do something
 
instance.log('Current time since started: ');
 
// do something else
 
instance.stop().log('Finished in: ');

Readme

Keywords

Package Sidebar

Install

npm i functional-timer

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

12.7 kB

Total Files

6

Last publish

Collaborators

  • caseygoodhew