{"dist":{"shasum":"81ce00c2f8a495d9aa6510f91227b630f83d926f","tarball":"https://registry.npmjs.org/exec-sync/-/exec-sync-0.1.5.tgz","integrity":"sha512-IXTDve2pte1yUue8lnPBpzfddJdHUOXrlqRtD4mKw3mnSugV9g0QpYiLNTPWXSOjcRzE9Mkwd4/jVXX67eo7FQ==","signatures":[{"sig":"MEUCIA0nsWF9Kwua6RNaslW6ylW/3dN0+Kiizrs/U7ES5i9GAiEAnfhYZI8ghL/4Okoh1B47A4maJimsTz1MtEXEo2lIO40=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./bin/index.js","name":"exec-sync","author":{"name":"Jeremy Faivre","email":"contact@jeremyfa.com"},"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\nBy default, an Error is thrown if stderr is not empty. Alternatively, the function can return an object with both `stdout` and `stderr` as properties by passing `true` as a second argument (`returnOutAndErr`).\n\n\n## License \n\n(The MIT License)\n\nCopyright (c) 2011-2012 Jérémy Faivre &lt;contact@jeremyfa.com&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_npmUser":{"name":"jeremyfa","email":"contact@jeremyfa.com"},"keywords":["exec","sync","synchronously","synchronous","shell"],"repository":{"url":"git://github.com/jeremyfa/node-exec-sync.git","type":"git"},"_npmVersion":"1.1.59","description":"Execute shell command synchronously. Use this for migration scripts, cli programs, but not for regular server code.","directories":{},"maintainers":[{"name":"jeremyfa","email":"contact@jeremyfa.com"}],"dependencies":{"ffi":"=1.1.2"},"devDependencies":{"findit":">=0.1.2","coffee-script":">=1.2.0"},"_id":"exec-sync@0.1.5","version":"0.1.5"}