{"name":"right-now","version":"0.0.0","description":"Get the quickest, most high-resolution timestamp possible in node or the browser","main":"index.js","browser":"browser.js","scripts":{"test":"say sorry"},"repository":{"type":"git","url":"git://github.com/hughsk/right-now.git"},"keywords":["time","high","resolution","fast","quick","nanosecond","millsecond","performance","now"],"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughskennedy.com/"},"license":"MIT","_id":"right-now@0.0.0","dist":{"shasum":"6e4b30d1ad46005601c108b505894eeb8469d1d3","tarball":"http://registry-npm.ywwl.com/right-now/download/right-now-0.0.0.tgz","integrity":"sha512-/WjQatQZaDDm0PKi0Xczym2DyQoLOyOLWJbnoCkrWOKcQOrLVMeqNJIX1V0i3zZtLLpH+7eNfJfdRf1xLCqjZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHIF4Uw+bmZAHAF8qNSiemGT8LFSa9AzUslcpBElIRxsAiBLCfFn3W8+irAuCUWZtu+NfyH/X+qu8GcjIzvcmDXM7A=="}],"size":1672,"noattachment":false,"key":"/right-now/-/right-now-0.0.0.tgz"},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}],"directories":{},"readme":"# right-now [![stable](http://hughsk.github.io/stability-badges/dist/stable.svg)](http://github.com/hughsk/stability-badges) #\n\nGet the quickest, most high-resolution timestamp possible in node or the\nbrowser.\n\nInstead of returning the date, `right-now` may use `performance.now`,\n`Date.now`, `+new Date` or `process.hrtime` to get a timestamp suitable for\nmeasuring intervals of time. Handy for both animation loops and precision\nbenchmarking.\n\nIt's pretty small but saves me writing this boilerplate every time :)\n\n## Installation ##\n\n``` bash\nnpm install right-now\n```\n\n## Usage ##\n\n### `require('right-now')()` ###\n\nReturns a timestamp. In node, this uses `process.hrtime`. In the browser,\nsupport for the following is checked in this order:\n\n* `performance.now()`\n* `Date.now()`\n* `+new Date`\n","publish_time":1377575826587,"_cnpm_publish_time":1377575826587,"dist-tags":{"latest":"1.0.0"}}