{"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":"*"},"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","_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,"dist-tags":{"latest":"1.0.2"}}