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: ');

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i functional-timer

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

12.7 kB

Total Files

6

Last publish

Collaborators

  • caseygoodhew