{"_id":"pidof","_rev":"2771234","name":"pidof","description":"Get PID of a running process","dist-tags":{"latest":"1.0.2"},"maintainers":[{"name":"calmh","email":"jakob@nym.se"}],"time":{"modified":"2022-05-23T09:39:31.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":{},"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","size":2309,"noattachment":false,"key":"/pidof/-/pidof-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/pidof/download/pidof-1.0.2.tgz"},"maintainers":[{"name":"calmh","email":"jakob@nym.se"}],"directories":{},"publish_time":1344679582167,"_hasShrinkwrap":false,"_cnpm_publish_time":1344679582167,"_cnpmcore_publish_time":"2021-12-16T19:48:40.280Z"},"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","size":2401,"noattachment":false,"key":"/pidof/-/pidof-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pidof/download/pidof-1.0.1.tgz"},"maintainers":[{"name":"calmh","email":"jakob@nym.se"}],"directories":{},"publish_time":1341924298332,"_hasShrinkwrap":false,"_cnpm_publish_time":1341924298332,"_cnpmcore_publish_time":"2021-12-16T19:48:40.514Z"},"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","size":1440,"noattachment":false,"key":"/pidof/-/pidof-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pidof/download/pidof-1.0.0.tgz"},"maintainers":[{"name":"calmh","email":"jakob@nym.se"}],"directories":{},"publish_time":1339845082431,"_hasShrinkwrap":false,"_cnpm_publish_time":1339845082431,"_cnpmcore_publish_time":"2021-12-16T19:48:40.781Z"}},"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.\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","_attachments":{},"homepage":"https://github.com/calmh/node-pidof"}