nowify

0.1.0 • Public • Published

nowify

performance.now() polyfill that works with browserify.

Usage

First:

npm install nowify

Then:

var nowify = require('nowify');

var start = nowify();
setTimeout(function() {
  var end = nowify();
  alert(end - start);
}, 10);

And that's it!

/nowify/

    Package Sidebar

    Install

    npm i nowify

    Weekly Downloads

    5

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • drhayes