{"_id":"present","_rev":"25-1f41b843d0d432f9de20293005eb8f7b","name":"present","time":{"modified":"2022-06-24T14:33:53.709Z","created":"2013-06-19T00:04:25.998Z","0.0.0":"2013-06-19T00:04:34.315Z","0.0.1":"2013-06-19T00:34:55.330Z","0.0.2":"2014-04-04T01:32:53.044Z","0.0.3":"2014-04-05T01:28:50.217Z","0.0.4":"2014-04-05T03:48:24.481Z","0.0.5":"2014-05-04T23:08:08.484Z","0.0.6":"2014-05-04T23:12:31.893Z","1.0.0":"2016-04-12T17:56:46.160Z"},"maintainers":[{"name":"dbkaplun","email":"dbkaplun@gmail.com"}],"dist-tags":{"latest":"1.0.0"},"description":"High-res timestamps in Node and browser","readme":"present [![present on npm](https://img.shields.io/npm/dm/present.svg?maxAge=2592000)](https://www.npmjs.com/package/present) [![build status](https://img.shields.io/travis/dbkaplun/present.svg?maxAge=2592000)](https://travis-ci.org/dbkaplun/present)\n=======\n\nHigh-res timestamps in Node and browser\n\nInstallation\n------------\n\nIn Node: `npm install present`\n\nIn browser:\n\n1. Copy `present.js` or `present.min.js` (with optional source map at `present.min.js.map`)\n2. `<script src=\"path/to/present.{min.}js\"></script>`\n3. `performance.now` is automatically polyfilled -- if this is undesired, `present.noConflict();`\n\nUsage\n-----\n_Node only:_ `var present = require('present');`\n\n### `present()`\n\nReturns a timestamp in milliseconds. In node, this uses `process.hrtime`. In the browser, the following are attempted (in order):\n\n* `performance.now()`\n* `performance.webkitNow()`\n* `performance.msNow()`\n* `performance.mozNow()`\n* `performance.oNow()`\n* `Date.now()`\n* `new Date().getTime()`\n\n### `present.noConflict()`\n_Browser only._ Resets `performance.now` to what it was before `present` was included or `present.conflict` was called.\n\n### `present.conflict()`\n_Browser only._ Polyfills `performance.now`.\n","versions":{"0.0.2":{"name":"present","version":"0.0.2","description":"High-res timestamps in Node and browser","main":"lib/present-node.js","browser":"lib/present-browser.js","scripts":{"test":"gulp test"},"repository":{"type":"git","url":"git://github.com/beardtree/present.git"},"keywords":["time","timestamp","high-res","high-resolution","nanosecond","millisecond","performance","now"],"author":{"name":"Dan Kaplun","email":"dan@beardtree.com","url":"http://beardtree.com/"},"contributors":[{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughskennedy.com/"}],"license":"MIT","devDependencies":{"gulp":"^3.5.6","gulp-jshint":"^1.5.1","jshint-stylish":"^0.1.5","tape":"^2.12.0","gulp-exec":"^1.0.4","istanbul":"^0.2.6","browser-resolve":"^1.2.2","gulp-browserify":"^0.5.0","gulp-rename":"^1.2.0","gulp-uglify":"^0.2.1"},"bugs":{"url":"https://github.com/beardtree/present/issues"},"homepage":"https://github.com/beardtree/present","_id":"present@0.0.2","dist":{"shasum":"a57ce4f86bdf55a94b5b67745b60b9d17f95d7c4","tarball":"https://registry.npmjs.org/present/-/present-0.0.2.tgz","integrity":"sha512-U6sOdYsXLSJaERFgVOmU9QzZAz9Do9QcXVARqsID9Kcl2yg89hHYFszxmIdCoBAY+CwoHuwCDhkJOO+hCrut9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGeaA+XFIiLBNjdSevIa4iDxWb+u9REpnqkB3cXMKrNlAiEAmpHk3YMxZIbIl+baTojNufUmK8LEU3w7NufYb1vUPio="}]},"_from":".","_npmVersion":"1.3.23","_npmUser":{"name":"beardtree","email":"dan@beardtree.com"},"maintainers":[{"name":"beardtree","email":"dan@beardtree.com"}]},"0.0.3":{"name":"present","version":"0.0.3","description":"High-res timestamps in Node and browser","main":"lib/present-node.js","browser":"lib/present-browser.js","scripts":{"test":"gulp test"},"repository":{"type":"git","url":"git://github.com/beardtree/present.git"},"keywords":["time","timestamp","high-res","high-resolution","nanosecond","millisecond","performance","now"],"author":{"name":"Dan Kaplun","email":"dan@beardtree.com","url":"http://beardtree.com/"},"contributors":[{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughskennedy.com/"}],"license":"MIT","devDependencies":{"gulp":"^3.5.6","gulp-jshint":"^1.5.1","jshint-stylish":"^0.1.5","tape":"^2.12.0","gulp-exec":"^1.0.4","istanbul":"^0.2.6","browser-resolve":"^1.2.2","gulp-browserify":"^0.5.0","gulp-rename":"^1.2.0","gulp-uglify":"^0.2.1"},"bugs":{"url":"https://github.com/beardtree/present/issues"},"homepage":"https://github.com/beardtree/present","_id":"present@0.0.3","dist":{"shasum":"5aefb8a5ddf6b34c65743bf1cde53523aac1c05a","tarball":"https://registry.npmjs.org/present/-/present-0.0.3.tgz","integrity":"sha512-d0QMXYTKHuAO0n0IfI/x2lbNwybdNWjRQ08hQySzqMQ2M0gwh/IetTv2glkPJihFn+cMDYjK/BiVgcLcjsASgg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB+JW7b2GbSQ/FYPg/mkKUo6B7sTEYzcl3NGqDD/O8+/AiB/eMu4huLE9ssSvL98+tzULY+xRbkDYod0JLzgbC8mfA=="}]},"_from":".","_npmVersion":"1.3.23","_npmUser":{"name":"beardtree","email":"dan@beardtree.com"},"maintainers":[{"name":"beardtree","email":"dan@beardtree.com"}]},"0.0.4":{"name":"present","version":"0.0.4","description":"High-res timestamps in Node and browser","main":"lib/present-node.js","browser":"lib/present-browser.js","scripts":{"test":"gulp test"},"repository":{"type":"git","url":"git://github.com/beardtree/present.git"},"keywords":["time","timestamp","high-res","high-resolution","nanosecond","millisecond","performance","now"],"author":{"name":"Dan Kaplun","email":"dan@beardtree.com","url":"http://beardtree.com/"},"contributors":[{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughskennedy.com/"}],"license":"MIT","devDependencies":{"gulp":"^3.5.6","gulp-jshint":"^1.5.1","jshint-stylish":"^0.1.5","tape":"^2.12.0","gulp-exec":"^1.0.4","istanbul":"^0.2.6","browser-resolve":"^1.2.2","gulp-browserify":"^0.5.0","gulp-rename":"^1.2.0","gulp-uglify":"^0.2.1"},"bugs":{"url":"https://github.com/beardtree/present/issues"},"homepage":"https://github.com/beardtree/present","_id":"present@0.0.4","dist":{"shasum":"c9ebd8ff836ce316d5c4955aabdb95f8a766a35e","tarball":"https://registry.npmjs.org/present/-/present-0.0.4.tgz","integrity":"sha512-L5hjScV1665/Z9VvkvMJN6sQjlwMcLu08xkkVhnp3re7RiAtFoJXnDWQSFv0hiaGbOc5ribenfRAZoyVMelj3g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGnhKQqdIrw+6F8FsaLcKfjSQhXvHve+JYrGQjcv8lCwIgMRRZ908vfrsdDRz9js3/KOvfs/jEeTiFHYvoCCbk3Sc="}]},"_from":".","_npmVersion":"1.3.23","_npmUser":{"name":"beardtree","email":"dan@beardtree.com"},"maintainers":[{"name":"beardtree","email":"dan@beardtree.com"}]},"0.0.5":{"name":"present","version":"0.0.5","description":"High-res timestamps in Node and browser","main":"lib/present-node.js","browser":"lib/present-browser.js","scripts":{"test":"gulp test"},"repository":{"type":"git","url":"git://github.com/beardtree/present.git"},"keywords":["time","timestamp","high-res","high-resolution","nanosecond","millisecond","performance","now"],"author":{"name":"Dan Kaplun","email":"dan@beardtree.com","url":"http://beardtree.com/"},"contributors":[{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughskennedy.com/"}],"license":"MIT","devDependencies":{"gulp":"^3.5.6","gulp-jshint":"^1.5.1","jshint-stylish":"^0.1.5","tape":"^2.12.0","gulp-exec":"^1.0.4","istanbul":"^0.2.6","browser-resolve":"^1.2.2","gulp-browserify":"^0.5.0","gulp-rename":"^1.2.0","gulp-uglify":"^0.2.1"},"bugs":{"url":"https://github.com/beardtree/present/issues"},"homepage":"https://github.com/beardtree/present","_id":"present@0.0.5","_shasum":"2da7c41e0c250cbbc1a37f8bd6082b15938fe3e0","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"beardtree","email":"dan@beardtree.com"},"maintainers":[{"name":"beardtree","email":"dan@beardtree.com"}],"dist":{"shasum":"2da7c41e0c250cbbc1a37f8bd6082b15938fe3e0","tarball":"https://registry.npmjs.org/present/-/present-0.0.5.tgz","integrity":"sha512-Zd5ieKDldcqJ0tcae+HTSs9DHD71nURDKUfZ5tIRaC+O/+GtyTuJDFIHMmyLZfTfXNMLOj9DE5g+/cegVp0bGw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF/ID2CO4d/JYE1FMZlqS8vIT0M3SVvoE1S+E1VS3GcPAiEAmjAV52O53iqz7TaOoMZHqO1BKTIvWZ+BzjTfbpkd3Eo="}]}},"0.0.6":{"name":"present","version":"0.0.6","description":"High-res timestamps in Node and browser","main":"lib/present-node.js","browser":"lib/present-browser.js","scripts":{"test":"gulp test"},"repository":{"type":"git","url":"git://github.com/beardtree/present.git"},"keywords":["time","timestamp","high-res","high-resolution","nanosecond","millisecond","performance","now"],"author":{"name":"Dan Kaplun","email":"dan@beardtree.com","url":"http://beardtree.com/"},"contributors":[{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughskennedy.com/"}],"license":"MIT","devDependencies":{"gulp":"^3.5.6","gulp-jshint":"^1.5.1","jshint-stylish":"^0.1.5","tape":"^2.12.0","gulp-exec":"^1.0.4","istanbul":"^0.2.6","browser-resolve":"^1.2.2","gulp-browserify":"^0.5.0","gulp-rename":"^1.2.0","gulp-uglify":"^0.2.1"},"bugs":{"url":"https://github.com/beardtree/present/issues"},"homepage":"https://github.com/beardtree/present","_id":"present@0.0.6","_shasum":"9eeff700daa9e998613352e47f7ac2324d4faf02","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"beardtree","email":"dan@beardtree.com"},"maintainers":[{"name":"beardtree","email":"dan@beardtree.com"}],"dist":{"shasum":"9eeff700daa9e998613352e47f7ac2324d4faf02","tarball":"https://registry.npmjs.org/present/-/present-0.0.6.tgz","integrity":"sha512-8HGGcsH0xefDkhtWzXhigzieKtervWPQgyX8RtQD3cKr4wU307j8XANVSaZLxbR0+1EBonCJNOdUrQ7hbk3Kiw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmSjipxuZImDZb9TamYr6fLnUUTtEqLUf7iGD2xLzrnQIgB9LQxAer+qOfMzQIyIiaLy4kVlgvcXXc9UBpHPcQJ5U="}]}},"1.0.0":{"name":"present","version":"1.0.0","description":"High-res timestamps in Node and browser","main":"lib/present-node.js","browser":"lib/present-browser.js","scripts":{"test":"gulp test"},"repository":{"type":"git","url":"git://github.com/dbkaplun/present.git"},"keywords":["time","timestamp","high-res","high-resolution","nanosecond","millisecond","performance","now"],"author":{"name":"Dan Kaplun","email":"dbkaplun@gmail.com","url":"http://dbkaplun.com/"},"contributors":[{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughskennedy.com/"}],"license":"MIT","devDependencies":{"gulp":"^3.5.6","gulp-jshint":"^1.5.1","jshint-stylish":"^0.1.5","tape":"^2.12.0","gulp-exec":"^1.0.4","istanbul":"^0.2.6","browser-resolve":"^1.2.2","gulp-browserify":"^0.5.0","gulp-rename":"^1.2.0","gulp-uglify":"^0.2.1"},"gitHead":"e9d612f4a558de693c2d87d06131d5296d1ef949","bugs":{"url":"https://github.com/dbkaplun/present/issues"},"homepage":"https://github.com/dbkaplun/present#readme","_id":"present@1.0.0","_shasum":"6d2f865be7a96885118f4660e83e2161fb71cf2b","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.0.0","_npmUser":{"name":"dbkaplun","email":"dbkaplun@gmail.com"},"maintainers":[{"name":"dbkaplun","email":"dbkaplun@gmail.com"}],"dist":{"shasum":"6d2f865be7a96885118f4660e83e2161fb71cf2b","tarball":"https://registry.npmjs.org/present/-/present-1.0.0.tgz","integrity":"sha512-Wx1aWTxGwXkqKNr/JxdP91qC0Gs+ZqmMgAFRkYjcGAsONZNbVdwDPqacSq3H7pp/GO1N7cCK97QzR7F152eFXQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOywI+/C0281fOte73iDj9T/rQhRRpnQRXmxnzWL3DdgIgecEnNUXc0JU7l4UTt8SeK3qJXn2GfCX+bL6KWfwtHxc="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/present-1.0.0.tgz_1460483803519_0.41553099919110537"}}},"homepage":"https://github.com/dbkaplun/present#readme","keywords":["time","timestamp","high-res","high-resolution","nanosecond","millisecond","performance","now"],"repository":{"type":"git","url":"git://github.com/dbkaplun/present.git"},"contributors":[{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughskennedy.com/"}],"author":{"name":"Dan Kaplun","email":"dbkaplun@gmail.com","url":"http://dbkaplun.com/"},"bugs":{"url":"https://github.com/dbkaplun/present/issues"},"license":"MIT","readmeFilename":"README.md","users":{"dbkaplun":true,"ryanve":true}}