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!

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i nowify

    Weekly Downloads

    4

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • drhayes