Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (33 sloc) 1.34 KB
"name": "since-when",
"description": "timing functions using process.hrtime",
"version": "3.4.0",
"author": {
"name": "Johnny Honestly",
"email": ""
"dependencies": {},
"devDependencies": {},
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"repository": {
"type": "git",
"url": "git://"
"keywords": [
"license": "MIT",
"readme": "**Timing functions that use process.hrtime**\n\n npm install since-when\n\nusage\n\n var Time = require('../');\n var time = new Time();\n \n time.every(1e9, tick)\n // every billion nanosecond tick\n \n function tick(tock, interval){\n console.log(interval + ' time in nanoseconds passed')\n tock()\n }\n \n__METHODS__\n\n**T.sinceBegin()** - time since new T()\n\n**T.sinceLast()** - time since last tick, starts at new T()\n\n**T.every(nanoseconds, function)** - call function(nextTick, interval) every nanoseconds. function must call nextTick()\n \nsee /examples",
"readmeFilename": "",
"_id": "since-when@0.4.7",
"dist": {
"shasum": "2551a33c97c023689731f9a9ca47caeffc201d10"
"_from": "since-when@",
"_resolved": ""
Something went wrong with that request. Please try again.