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!

Readme

Keywords

none

Package Sidebar

Install

npm i nowify

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • drhayes