Newline Proliferating Maniac

    stopper

    0.4.3 • Public • Published

    stopper

    Travis Commitizen friendly npm npm

    A minimal JavaScript stopwatch object to count and measure time in your Node.js or browser applications.

    (() => {
      'use strict';
     
      const Stopper = require('stopper')  
        , util = require('util');
     
      const stp = new Stopper('A nice but optional name');
     
      stp.start();
     
      setTimeout(() => {
        stp.stop();
     
        util.log(stp.measure());
      }, 600);
    })();
    > node test.js
    20 Jun 09:36:58 - 603

    Keywords

    none

    Install

    npm i stopper

    DownloadsWeekly Downloads

    2

    Version

    0.4.3

    License

    MIT

    Last publish

    Collaborators

    • sbstjn