{"_id":"exec-sync","_rev":"42394","name":"exec-sync","description":"Execute shell command synchronously. Use this for migration scripts, cli programs, but not for regular server code.","dist-tags":{"latest":"0.1.6"},"maintainers":[{"name":"jeremyfa","email":""}],"time":{"modified":"2021-06-03T10:12:52.000Z","created":"2012-02-26T22:22:09.590Z","0.1.6":"2013-06-12T17:05:14.965Z","0.1.5":"2012-10-02T14:00:45.978Z","0.1.4":"2012-08-07T23:33:47.847Z","0.1.3":"2012-07-23T11:28:00.771Z","0.1.2":"2012-04-13T09:59:33.433Z","0.1.1":"2012-03-01T23:33:59.768Z","0.1.0":"2012-02-26T22:22:09.590Z"},"users":{"fgribreau":true,"lezuse":true,"mastayoda":true,"monsterkodi":true,"stpettersens":true,"iamchairs":true,"magemagic":true,"piecioshka":true,"antanst":true,"pablo.tavarez":true,"reggiezhang":true},"author":{"name":"Jeremy Faivre","email":"contact@jeremyfa.com"},"repository":{"type":"git","url":"git://github.com/jeremyfa/node-exec-sync.git"},"versions":{"0.1.6":{"name":"exec-sync","version":"0.1.6","description":"Execute shell command synchronously. Use this for migration scripts, cli programs, but not for regular server code.","keywords":["exec","sync","synchronously","synchronous","shell"],"author":{"name":"Jeremy Faivre","email":"contact@jeremyfa.com"},"main":"./bin/index.js","dependencies":{"ffi":"=1.2.5"},"devDependencies":{"coffee-script":">=1.2.0","findit":">=0.1.2"},"repository":{"type":"git","url":"git://github.com/jeremyfa/node-exec-sync.git"},"readmeFilename":"README.md","_id":"exec-sync@0.1.6","dist":{"shasum":"817a1d4a6b5b2820d72d7536ca167b2bee7259b0","size":3200,"noattachment":false,"key":"/exec-sync/-/exec-sync-0.1.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/exec-sync/download/exec-sync-0.1.6.tgz"},"_from":".","_npmVersion":"1.2.17","_npmUser":{"name":"jeremyfa","email":"contact@jeremyfa.com"},"maintainers":[{"name":"jeremyfa","email":""}],"directories":{},"publish_time":1371056714965,"_hasShrinkwrap":false,"_cnpm_publish_time":1371056714965},"0.1.5":{"name":"exec-sync","version":"0.1.5","description":"Execute shell command synchronously. Use this for migration scripts, cli programs, but not for regular server code.","keywords":["exec","sync","synchronously","synchronous","shell"],"author":{"name":"Jeremy Faivre","email":"contact@jeremyfa.com"},"main":"./bin/index.js","dependencies":{"ffi":"=1.1.2"},"devDependencies":{"coffee-script":">=1.2.0","findit":">=0.1.2"},"repository":{"type":"git","url":"git://github.com/jeremyfa/node-exec-sync.git"},"_id":"exec-sync@0.1.5","dist":{"shasum":"81ce00c2f8a495d9aa6510f91227b630f83d926f","size":3173,"noattachment":false,"key":"/exec-sync/-/exec-sync-0.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/exec-sync/download/exec-sync-0.1.5.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"jeremyfa","email":"contact@jeremyfa.com"},"maintainers":[{"name":"jeremyfa","email":""}],"directories":{},"publish_time":1349186445978,"_hasShrinkwrap":false,"_cnpm_publish_time":1349186445978},"0.1.4":{"name":"exec-sync","version":"0.1.4","description":"Execute shell command synchronously. Use this for migration scripts, cli programs, but not for regular server code.","keywords":["exec","sync","synchronously","synchronous","shell"],"author":{"name":"Jeremy Faivre","email":"contact@jeremyfa.com"},"main":"./bin/index.js","dependencies":{"ffi":"=1.0.1"},"devDependencies":{"coffee-script":">=1.2.0","findit":">=0.1.2"},"repository":{"type":"git","url":"git://github.com/jeremyfa/node-exec-sync.git"},"_id":"exec-sync@0.1.4","dist":{"shasum":"773df77f14a072d9c816b9c3fcd4a2e6b3a07d85","size":3172,"noattachment":false,"key":"/exec-sync/-/exec-sync-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/exec-sync/download/exec-sync-0.1.4.tgz"},"maintainers":[{"name":"jeremyfa","email":""}],"directories":{},"publish_time":1344382427847,"_hasShrinkwrap":false,"_cnpm_publish_time":1344382427847},"0.1.3":{"name":"exec-sync","version":"0.1.3","description":"Execute shell command synchronously. Use this for migration scripts, cli programs, but not for regular server code.","keywords":["exec","sync","synchronously","synchronous","shell"],"author":{"name":"Jeremy Faivre","email":"contact@jeremyfa.com"},"main":"./bin/index.js","dependencies":{"ffi":"=1.0.1"},"devDependencies":{"coffee-script":">=1.2.0","findit":">=0.1.2"},"repository":{"type":"git","url":"git://github.com/jeremyfa/node-exec-sync.git"},"_npmUser":{"name":"jeremyfa","email":"contact@jeremyfa.com"},"_id":"exec-sync@0.1.3","optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"cb1f2604aab535de19358ef9125745f1a57f8106","size":2847,"noattachment":false,"key":"/exec-sync/-/exec-sync-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/exec-sync/download/exec-sync-0.1.3.tgz"},"maintainers":[{"name":"jeremyfa","email":""}],"directories":{},"publish_time":1343042880771,"_hasShrinkwrap":false,"_cnpm_publish_time":1343042880771},"0.1.2":{"name":"exec-sync","version":"0.1.2","description":"Execute shell command synchronously. Use this for migration scripts, cli programs, but not for regular server code.","keywords":["exec","sync","synchronously","synchronous","shell"],"author":{"name":"Jeremy Faivre","email":"contact@jeremyfa.com"},"main":"./bin/index.js","dependencies":{"node-ffi":">=0.5.0"},"devDependencies":{"coffee-script":">=1.2.0","findit":">=0.1.2"},"repository":{"type":"git","url":"git://github.com/jeremyfa/node-exec-sync.git"},"_npmUser":{"name":"jeremyfa","email":"contact@jeremyfa.com"},"_id":"exec-sync@0.1.2","optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.3","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"shasum":"409757869b77835f4157ef85875dbf33d9ebeeef","size":2905,"noattachment":false,"key":"/exec-sync/-/exec-sync-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/exec-sync/download/exec-sync-0.1.2.tgz"},"maintainers":[{"name":"jeremyfa","email":""}],"directories":{},"publish_time":1334311173433,"_hasShrinkwrap":false,"_cnpm_publish_time":1334311173433},"0.1.1":{"name":"exec-sync","version":"0.1.1","description":"Execute shell command synchronously. Use this for migration scripts, cli programs, but not for regular server code.","keywords":["exec","sync","synchronously","synchronous","shell"],"author":{"name":"Jeremy Faivre","email":"contact@jeremyfa.com"},"main":"./bin/index.js","dependencies":{"node-ffi":">=0.5.0"},"devDependencies":{"coffee-script":">=1.2.0","findit":">=0.1.2"},"repository":{"type":"git","url":"git://github.com/jeremyfa/node-exec-sync.git"},"_npmUser":{"name":"jeremyfa","email":"contact@jeremyfa.com"},"_id":"exec-sync@0.1.1","optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.0-2","_nodeVersion":"v0.6.8","_defaultsLoaded":true,"dist":{"shasum":"8c08c9e8a66f4f79fead1b07dd59866a15306ce4","size":2254,"noattachment":false,"key":"/exec-sync/-/exec-sync-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/exec-sync/download/exec-sync-0.1.1.tgz"},"maintainers":[{"name":"jeremyfa","email":""}],"directories":{},"publish_time":1330644839768,"_hasShrinkwrap":false,"_cnpm_publish_time":1330644839768},"0.1.0":{"name":"exec-sync","version":"0.1.0","description":"Execute shell command synchronously. Use this for migration scripts, cli programs, but not for regular server code.","keywords":["exec","sync","synchronously","synchronous","shell"],"author":{"name":"Jeremy Faivre","email":"contact@jeremyfa.com"},"main":"./bin/index.js","dependencies":{"node-ffi":">=0.5.0"},"devDependencies":{"coffee-script":">=1.2.0","findit":">=0.1.2"},"repository":{"type":"git","url":"git://github.com/jeremyfa/node-exec-sync.git"},"_npmUser":{"name":"jeremyfa","email":"contact@jeremyfa.com"},"_id":"exec-sync@0.1.0","optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.0-2","_nodeVersion":"v0.6.8","_defaultsLoaded":true,"dist":{"shasum":"282cadd6939d7e5771bbc8b2cd87e1dcdeefae49","size":1965,"noattachment":false,"key":"/exec-sync/-/exec-sync-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/exec-sync/download/exec-sync-0.1.0.tgz"},"maintainers":[{"name":"jeremyfa","email":""}],"directories":{},"publish_time":1330294929590,"_hasShrinkwrap":false,"_cnpm_publish_time":1330294929590}},"readme":"# exec-sync\n\nExecute shell command synchronously. Use this for migration scripts, cli programs, but not for regular server code.\n\n## Installation\n\n### Installing npm (node package manager)\n``` bash\n$ curl http://npmjs.org/install.sh | sh\n```\n\n### Installing exec-sync\n``` bash\n$ cd /path/to/your/project\n$ [sudo] npm install exec-sync\n```\n\n### Using exec-sync from node.js\nWarning: use only for special operation or command line scripts written with node. Don't use this for regular server code or it will ruin the responsiveness of your server.\n\n``` js\nvar execSync = require('exec-sync');\n\nvar user = execSync('echo $USER');\nconsole.log(user);\n```\n\n### TODO\n\nThrow error when something went wrong.\n","_attachments":{},"readmeFilename":"README.md"}