{"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":{},"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","publish_time":1339845082431,"_cnpm_publish_time":1339845082431,"dist-tags":{"latest":"1.0.2"}}