{"_id":"pidof","_rev":"495547","name":"pidof","description":"Get PID of a running process","dist-tags":{"latest":"1.0.2"},"maintainers":[{"name":"calmh","email":"jakob@nym.se"}],"time":{"modified":"2024-06-24T21:08:01.000Z","created":"2012-06-16T11:11:22.431Z","1.0.2":"2012-08-11T10:06:22.167Z","1.0.1":"2012-07-10T12:44:58.332Z","1.0.0":"2012-06-16T11:11:22.431Z"},"users":{"petecemi":true},"author":{"name":"Jakob Borg","email":"jakob@nym.se","url":"http://nym.se/"},"repository":{"url":"https://github.com/calmh/node-pidof.git"},"versions":{"1.0.2":{"author":{"name":"Jakob Borg","email":"jakob@nym.se","url":"http://nym.se/"},"name":"pidof","description":"Get PID of a running process","version":"1.0.2","main":"./lib/pidof.js","homepage":"https://github.com/calmh/node-pidof","repository":{"url":"https://github.com/calmh/node-pidof.git"},"scripts":{"test":"./node_modules/.bin/mocha -R spec"},"dependencies":{},"devDependencies":{"should":"0.6.x","mocha":"1.1.x"},"optionalDependencies":{},"engines":{"node":"*"},"_id":"pidof@1.0.2","dist":{"shasum":"fba0eae1c8335a11eb8099f5d0f3efbc45cb4e90","tarball":"http://registry-npm.ywwl.com/pidof/download/pidof-1.0.2.tgz","integrity":"sha512-LLJhTVEUCZnotdAM5rd7KiTdLGgk6i763/hsd5pO+8yuF7mdgg0ob8w/98KrTAcPsj6YzGrkFLPVtBOr1uW2ag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGkZS1zyGAwwYFIthqVnpHPtCHG+n02aSu2Wbjq8TpDKAiEA5c5mEAbwohl4DjABhy3Jp6frXyHtON6HTcnl4nxLXyM="}],"size":2309,"noattachment":false,"key":"/pidof/-/pidof-1.0.2.tgz"},"maintainers":[{"name":"calmh","email":"jakob@nym.se"}],"directories":{},"publish_time":1344679582167,"_cnpm_publish_time":1344679582167},"1.0.1":{"author":{"name":"Jakob Borg","email":"jakob@nym.se","url":"http://nym.se/"},"name":"pidof","description":"Get PID of a running process","version":"1.0.1","main":"./lib/pidof.js","homepage":"https://github.com/calmh/node-pidof","repository":{"url":"https://github.com/calmh/node-pidof.git"},"scripts":{"test":"./node_modules/.bin/mocha -R spec"},"dependencies":{},"devDependencies":{"should":"0.6.x","mocha":"1.1.x"},"optionalDependencies":{},"engines":{"node":"*"},"_id":"pidof@1.0.1","dist":{"shasum":"813acb88fe17516872525e5c7eaf34dd76ec9e89","tarball":"http://registry-npm.ywwl.com/pidof/download/pidof-1.0.1.tgz","integrity":"sha512-vg7Wzxa/LtacPDovALt5+x+Ou/bwJTLMPhmCvr6CGlVJ+L7QshfR/jrK/hF+apbdjIKateHIEJX8ZhinZeYudg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTckPq/Rvju4/mnoyDk3Qf2rWTuRct+nAKi+k8VT1+1wIhAPRIjuRiQHsN6fIA8U5A5FNLR3g9GTmgi99Kwst7BEIi"}],"size":2401,"noattachment":false,"key":"/pidof/-/pidof-1.0.1.tgz"},"maintainers":[{"name":"calmh","email":"jakob@nym.se"}],"directories":{},"publish_time":1341924298332,"_cnpm_publish_time":1341924298332},"1.0.0":{"author":{"name":"Jakob Borg","email":"jakob@nym.se","url":"http://nym.se/"},"name":"pidof","description":"Get PID of a running process","version":"1.0.0","main":"./lib/pidof.js","homepage":"https://github.com/calmh/node-pidof","repository":{"url":"https://github.com/calmh/node-pidof.git"},"scripts":{"test":"./node_modules/.bin/mocha -R spec"},"dependencies":{},"devDependencies":{"should":"0.6.x","mocha":"1.1.x"},"optionalDependencies":{},"engines":{"node":"0.6.x"},"_npmUser":{"name":"calmh","email":"jakob@nym.se"},"_id":"pidof@1.0.0","_engineSupported":true,"_npmVersion":"1.1.24","_nodeVersion":"v0.6.19","_defaultsLoaded":true,"dist":{"shasum":"e8990736e6ac6604a5c33108e6245e7cd37ec7c0","tarball":"http://registry-npm.ywwl.com/pidof/download/pidof-1.0.0.tgz","integrity":"sha512-WGp/xzWJGmMnCExLX1VkTMk6qqIeoF0EK950Q6pG0GpFwL53hjA4dCGtK/n/LWYfwynkFB1QuH2AKhXktwkIcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBpNNTozT3fZHF6h9eD89s/aRAfotwPYdeNeNO8HjY65AiBCZkMUKwyzmJeJqen8Md+i8DrHcriEvkUWXbaJ8JXLnA=="}],"size":1440,"noattachment":false,"key":"/pidof/-/pidof-1.0.0.tgz"},"maintainers":[{"name":"calmh","email":"jakob@nym.se"}],"directories":{},"publish_time":1339845082431,"_cnpm_publish_time":1339845082431}},"readme":"pidof\n=====\n\n[![build status](https://secure.travis-ci.org/calmh/node-pidof.png)](http://travis-ci.org/calmh/node-pidof)\n\nGet the PID of a running process, or `null` if it couldn't be found. Tested on\nMac OS X, Solaris and Linux. Guaranteed not to work on Windows.\n\nExample\n-------\n\n    var pidof = require('pidof');\n    \n    pidof('cron', function (err, pid) {\n        if (err) {\n            console.log('Weird error getting PIDs');\n            console.log(err);\n        } else {\n            if (pid) {\n                console.log('Found cron at pid ' + pid);\n            } else {\n                console.log('Seems like there\\'s no cron on this system');\n            }\n        }\n    });\n\nLicense\n-------\n\nMIT\n\n","_attachments":{},"homepage":"https://github.com/calmh/node-pidof"}