{"_id":"node-cmd","_rev":"385694","name":"node-cmd","description":"Simple commandline/terminal/shell interface to allow you to run cli or bash style commands as if you were in the terminal.","dist-tags":{"latest":"5.0.0"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"}],"time":{"modified":"2021-08-04T03:15:22.000Z","created":"2014-02-21T07:33:58.868Z","5.0.0":"2021-07-29T00:26:08.352Z","4.0.0":"2020-11-12T06:18:59.729Z","3.0.0":"2017-04-16T05:49:03.417Z","2.0.0":"2017-02-18T10:11:09.258Z","1.3.0":"2017-02-14T07:39:57.446Z","1.2.0":"2016-12-20T00:11:28.674Z","1.1.1":"2016-01-25T04:16:55.926Z","1.1.0":"2016-01-25T04:11:22.457Z","1.0.2":"2014-09-03T05:37:56.318Z","1.0.1":"2014-02-21T07:47:09.550Z","1.0.0":"2014-02-21T07:33:58.868Z"},"users":{"magemagic":true,"riaevangelist":true,"bapinney":true,"jakedetels":true,"azevedo":true,"jybleau":true,"danielbayley":true,"monjer":true,"areasis":true,"williewrightjr":true,"ssljivic":true,"gvhinks":true,"makebox360":true,"jag82":true,"yuriab":true,"kwcjr":true,"constantinc":true,"alexc1212":true,"rocket0191":true,"heychez":true,"yisen":true,"pdestiny":true,"soladmd":true,"joshdoescode":true,"mucahitnezir":true},"author":{"name":"Brandon Nozaki Miller"},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-cmd.git"},"versions":{"5.0.0":{"name":"node-cmd","version":"5.0.0","description":"Simple commandline/terminal/shell interface to allow you to run cli or bash style commands as if you were in the terminal.","main":"cmd.js","directories":{"example":"example"},"engines":{"node":">=6.4.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-cmd.git"},"keywords":["commandline","terminal","shell","cmd","cli","bash","script","node"],"author":{"name":"Brandon Nozaki Miller"},"license":"MIT","bugs":{"url":"https://github.com/RIAEvangelist/node-cmd/issues"},"homepage":"https://github.com/RIAEvangelist/node-cmd","gitHead":"9ed1a1bc8be9c0eeaa6add90d853c042bfe1c8a4","_id":"node-cmd@5.0.0","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","dist":{"shasum":"a4a850b569e009bec0199a131c9db607144fdbc0","size":2819,"noattachment":false,"key":"/node-cmd/-/node-cmd-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-cmd/download/node-cmd-5.0.0.tgz"},"_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-cmd_5.0.0_1627518368228_0.017441591212566054"},"_hasShrinkwrap":false,"publish_time":1627518368352,"_cnpm_publish_time":1627518368352},"4.0.0":{"name":"node-cmd","version":"4.0.0","description":"Simple commandline/terminal/shell interface to allow you to run cli or bash style commands as if you were in the terminal.","main":"cmd.js","directories":{"example":"example"},"engines":{"node":">=6.4.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-cmd.git"},"keywords":["commandline","terminal","shell","cmd","cli","bash","script","node"],"author":{"name":"Brandon Nozaki Miller"},"license":"MIT","bugs":{"url":"https://github.com/RIAEvangelist/node-cmd/issues"},"homepage":"https://github.com/RIAEvangelist/node-cmd","gitHead":"3869d503eb3a6d196f2f541465171a069adddc4d","_id":"node-cmd@4.0.0","_nodeVersion":"14.11.0","_npmVersion":"6.14.8","dist":{"shasum":"a0187d9b779b59f1e8a70545ab8e8276a4b8c693","size":3172,"noattachment":false,"key":"/node-cmd/-/node-cmd-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-cmd/download/node-cmd-4.0.0.tgz"},"_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-cmd_4.0.0_1605161939615_0.07672068212734917"},"_hasShrinkwrap":false,"publish_time":1605161939729,"_cnpm_publish_time":1605161939729},"3.0.0":{"name":"node-cmd","version":"3.0.0","description":"Simple commandline/terminal interface to allow you to run cli or bash style commands as if you were in the terminal.","main":"cmd.js","directories":{"example":"example"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-cmd.git"},"keywords":["commandline","terminal","cmd","cli","bash","script","node"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-cmd/issues"},"homepage":"https://github.com/RIAEvangelist/node-cmd","gitHead":"91c71842618d95c04a55c78292902aa878b43624","_id":"node-cmd@3.0.0","_shasum":"38fff70a4aaa4f659d203eb57862737018e24f6f","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.2","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"dist":{"shasum":"38fff70a4aaa4f659d203eb57862737018e24f6f","size":3249,"noattachment":false,"key":"/node-cmd/-/node-cmd-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-cmd/download/node-cmd-3.0.0.tgz"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/node-cmd-3.0.0.tgz_1492321741558_0.7660261690616608"},"publish_time":1492321743417,"_cnpm_publish_time":1492321743417,"_hasShrinkwrap":false},"2.0.0":{"name":"node-cmd","version":"2.0.0","description":"Simple commandline/terminal interface to allow you to run cli or bash style commands as if you were in the terminal.","main":"cmd.js","directories":{"example":"example"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-cmd.git"},"keywords":["commandline","terminal","cmd","cli","bash","script","node"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-cmd/issues"},"homepage":"https://github.com/RIAEvangelist/node-cmd","gitHead":"357b375216e260f0a13f310edf20cceb1392d6ca","_id":"node-cmd@2.0.0","_shasum":"6345655774a3b3f80181b3e52421ba0d23f588f4","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.1-pre","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"dist":{"shasum":"6345655774a3b3f80181b3e52421ba0d23f588f4","size":3091,"noattachment":false,"key":"/node-cmd/-/node-cmd-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-cmd/download/node-cmd-2.0.0.tgz"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/node-cmd-2.0.0.tgz_1487412669044_0.7258587309625"},"publish_time":1487412669258,"_cnpm_publish_time":1487412669258,"_hasShrinkwrap":false},"1.3.0":{"name":"node-cmd","version":"1.3.0","description":"Simple commandline/terminal interface to allow you to run cli or bash style commands as if you were in the terminal.","main":"cmd.js","directories":{"example":"example"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-cmd.git"},"keywords":["commandline","terminal","cmd","cli","bash","script"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-cmd/issues"},"homepage":"https://github.com/RIAEvangelist/node-cmd","gitHead":"41192f1fdf2b1a41730bad994706d794c0a47566","_id":"node-cmd@1.3.0","_shasum":"2a77d111db66e6a00fbe610669813c4960df31bc","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.1-pre","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"dist":{"shasum":"2a77d111db66e6a00fbe610669813c4960df31bc","size":2460,"noattachment":false,"key":"/node-cmd/-/node-cmd-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-cmd/download/node-cmd-1.3.0.tgz"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/node-cmd-1.3.0.tgz_1487057997227_0.15855081262998283"},"publish_time":1487057997446,"_cnpm_publish_time":1487057997446,"_hasShrinkwrap":false},"1.2.0":{"name":"node-cmd","version":"1.2.0","description":"Simple commandline/terminal interface to allow you to run cli or bash style commands as if you were in the terminal.","main":"cmd.js","directories":{"example":"example"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-cmd.git"},"keywords":["commandline","terminal","cmd","cli","bash","script"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-cmd/issues"},"homepage":"https://github.com/RIAEvangelist/node-cmd","gitHead":"1a85e0a7fda1444c017f32e74d7c94fc605f1685","_id":"node-cmd@1.2.0","_shasum":"ba35c1892436829da62697c0d744576397fca337","_from":".","_npmVersion":"3.5.2","_nodeVersion":"4.2.6","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"dist":{"shasum":"ba35c1892436829da62697c0d744576397fca337","size":2410,"noattachment":false,"key":"/node-cmd/-/node-cmd-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-cmd/download/node-cmd-1.2.0.tgz"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/node-cmd-1.2.0.tgz_1482192688438_0.31989889265969396"},"publish_time":1482192688674,"_cnpm_publish_time":1482192688674,"_hasShrinkwrap":false},"1.1.1":{"name":"node-cmd","version":"1.1.1","description":"Simple commandline/terminal interface to allow you to run cli or bash style commands as if you were in the terminal.","main":"cmd.js","directories":{"example":"example"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-cmd.git"},"keywords":["commandline","terminal","cmd","cli","bash","script"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-cmd/issues"},"homepage":"https://github.com/RIAEvangelist/node-cmd","gitHead":"1f0593c1e311da49401230d83725af9ecbb9c73e","_id":"node-cmd@1.1.1","_shasum":"9c6159d36e6b35b59ec4ab40840d26ab14a9806d","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"}],"dist":{"shasum":"9c6159d36e6b35b59ec4ab40840d26ab14a9806d","size":2434,"noattachment":false,"key":"/node-cmd/-/node-cmd-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-cmd/download/node-cmd-1.1.1.tgz"},"publish_time":1453695415926,"_cnpm_publish_time":1453695415926,"_hasShrinkwrap":false},"1.1.0":{"name":"node-cmd","version":"1.1.0","description":"Simple commandline/terminal interface to allow you to run cli or bash style commands as if you were in the terminal.","main":"cmd.js","directories":{"example":"example"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/RIAEvangelist/node-cmd.git"},"keywords":["commandline","terminal","cmd","cli","bash","script"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-cmd/issues"},"homepage":"https://github.com/RIAEvangelist/node-cmd","gitHead":"467bdb1fd23ae144e570cc371bfebad76e5e7d00","_id":"node-cmd@1.1.0","_shasum":"8663173f232902599ad6c4da5e437ea4f37c6e5b","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"}],"dist":{"shasum":"8663173f232902599ad6c4da5e437ea4f37c6e5b","size":1282,"noattachment":false,"key":"/node-cmd/-/node-cmd-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-cmd/download/node-cmd-1.1.0.tgz"},"publish_time":1453695082457,"_cnpm_publish_time":1453695082457,"_hasShrinkwrap":false},"1.0.2":{"name":"node-cmd","version":"1.0.2","description":"Simple commandline/terminal interface to allow you to run cli or bash style commands as if you were in the terminal.","main":"cmd.js","directories":{"example":"example"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/RIAEvangelist/node-cmd.git"},"keywords":["commandline","terminal","cmd","cli","bash","script"],"author":{"name":"Brandon Nozaki Miller"},"license":"DBAD","bugs":{"url":"https://github.com/RIAEvangelist/node-cmd/issues"},"homepage":"https://github.com/RIAEvangelist/node-cmd","gitHead":"a003426996e8594af31a6486cfb7d28d0a547bc9","_id":"node-cmd@1.0.2","_shasum":"89cdb50181476cdd127763d5c8514499fe3c038d","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"riaevangelist","email":"brandon@diginow.it"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"}],"dist":{"shasum":"89cdb50181476cdd127763d5c8514499fe3c038d","size":1144,"noattachment":false,"key":"/node-cmd/-/node-cmd-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-cmd/download/node-cmd-1.0.2.tgz"},"publish_time":1409722676318,"_cnpm_publish_time":1409722676318,"_hasShrinkwrap":false},"1.0.1":{"name":"node-cmd","version":"1.0.1","description":"Simple commandline interface to allow you to run cli or bash style commands as if you were in the terminal.","main":"commandline.js","directories":{"example":"example"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/RIAEvangelist/node-cmd.git"},"keywords":["commandline","terminal","cmd","cli","bash","script"],"author":{"name":"Brandon Nozaki Miller"},"license":"Unlicense","bugs":{"url":"https://github.com/RIAEvangelist/node-cmd/issues"},"homepage":"https://github.com/RIAEvangelist/node-cmd","_id":"node-cmd@1.0.1","dist":{"shasum":"afeea348852d7e5552545e8d529152ca3624d2b6","size":833,"noattachment":false,"key":"/node-cmd/-/node-cmd-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-cmd/download/node-cmd-1.0.1.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"riaevangelist","email":"brandon@1942design.com"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"}],"publish_time":1392968829550,"_cnpm_publish_time":1392968829550,"_hasShrinkwrap":false},"1.0.0":{"name":"node-cmd","version":"1.0.0","description":"Simple commandline interface to allow you to run cli or bash style commands as if you were in the terminal.","main":"commandline.js","directories":{"example":"example"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/RIAEvangelist/commandline.git"},"keywords":["commandline","terminal","cmd","cli","bash","script"],"author":{"name":"Brandon Nozaki Miller"},"license":"Unlicense","bugs":{"url":"https://github.com/RIAEvangelist/commandline/issues"},"homepage":"https://github.com/RIAEvangelist/commandline","_id":"node-cmd@1.0.0","dist":{"shasum":"8d64575adaf4457c824c7fbd5e5b5f9eba979109","size":830,"noattachment":false,"key":"/node-cmd/-/node-cmd-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/node-cmd/download/node-cmd-1.0.0.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"riaevangelist","email":"brandon@1942design.com"},"maintainers":[{"name":"mayberex","email":"marioxcore1@gmail.com"},{"name":"riaevangelist","email":"brandon@diginow.it"}],"publish_time":1392968038868,"_cnpm_publish_time":1392968038868,"_hasShrinkwrap":false}},"readme":"# node-cmd\r\n\r\n*Node.js commandline/terminal interface.*  \r\n\r\nSimple commandline, terminal, or shell interface to allow you to run cli or bash style commands as if you were in the terminal.\r\n\r\nRun commands asynchronously, and if needed can get the output as a string.\r\n\r\n#### NPM Stats\r\n\r\nnpm info :    \r\n[![NPM](https://nodei.co/npm/node-cmd.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/node-cmd/)  \r\n[See npm trends and stats for node-cmd](http://npm-stat.com/charts.html?package=node-cmd&author=&from=&to=)  \r\n![node-cmd npm version](https://img.shields.io/npm/v/node-cmd.svg) ![supported node version for node-cmd](https://img.shields.io/node/v/node-cmd.svg) ![total npm downloads for node-cmd](https://img.shields.io/npm/dt/node-cmd.svg) ![monthly npm downloads for node-cmd](https://img.shields.io/npm/dm/node-cmd.svg) ![npm licence for node-cmd](https://img.shields.io/npm/l/node-cmd.svg)\r\n\r\n[![RIAEvangelist](https://avatars3.githubusercontent.com/u/369041?v=3&s=100)](https://github.com/RIAEvangelist)\r\n\r\nGitHub info :  \r\n![node-cmd GitHub Release](https://img.shields.io/github/release/RIAEvangelist/node-cmd.svg) ![GitHub license node-cmd license](https://img.shields.io/github/license/RIAEvangelist/node-cmd.svg) ![open issues for node-cmd on GitHub](https://img.shields.io/github/issues/RIAEvangelist/node-cmd.svg)\r\n\r\nPackage details websites :\r\n* [GitHub.io site](http://riaevangelist.github.io/node-cmd/ \"node-cmd documentation\"). A prettier version of this site.\r\n* [NPM Module](https://www.npmjs.org/package/node-cmd \"node-cmd npm module\"). The npm page for the node-cmd module.\r\n\r\nThis work is licenced via the MIT Licence.\r\n\r\n\r\n# Methods\r\n\r\n|method | arguments | functionality | returns |\r\n|-------|-----------|---------------|---------|\r\n|run    | command, callback | runs a command asynchronously| args for callback `err`,`data`,`stderr` |\r\n|runSync| command   | runs a command ***synchronously*** | obj {`err`,`data`,`stderr`} |\r\n\r\n\r\n## Examples\r\n\r\n```javascript\r\n\r\n//*nix\r\n\r\n    var cmd=require('node-cmd');\r\n\r\n//*nix supports multiline commands\r\n    \r\n    cmd.runSync('touch ./example/example.created.file');\r\n\r\n    cmd.run(\r\n        `cd ./example\r\nls`,\r\n        function(err, data, stderr){\r\n            console.log('examples dir now contains the example file along with : ',data)\r\n        }\r\n    );\r\n\r\n```\r\n\r\n```javascript\r\n\r\n//Windows\r\n\r\n    var cmd=require('node-cmd');\r\n\r\n//Windows multiline commands are not guaranteed to work try condensing to a single line.\r\n    \r\n    const syncDir=cmd.runSync('cd ./example & dir');\r\n\r\n    console.log(`\r\n    \r\n        Sync Err ${syncDir.err}\r\n        \r\n        Sync stderr:  ${syncDir.stderr}\r\n\r\n        Sync Data ${syncDir.data}\r\n    \r\n    `);\r\n\r\n    cmd.run(`dir`,\r\n        function(err, data, stderr){\r\n            console.log('the node-cmd dir contains : ',data)\r\n        }\r\n    );\r\n\r\n```\r\n\r\n```javascript\r\n\r\n//clone this repo!\r\n\r\n    var cmd=require('node-cmd');\r\n    \r\n    const syncClone=cmd.runSync('git clone https://github.com/RIAEvangelist/node-cmd.git');\r\n\r\n    console.log(syncClone);\r\n    \r\n```\r\n\r\n\r\n### Getting the CMD Process ID\r\n\r\n```javascript\r\n\r\n    var cmd=require('node-cmd');\r\n\r\n    var process=cmd.run('node');\r\n    console.log(process.pid);\r\n\r\n```\r\n\r\n### Running a python shell from node\r\n\r\n```javascript\r\nconst cmd=require('node-cmd');\r\n\r\nconst processRef=cmd.run('python -i');\r\nlet data_line = '';\r\n\r\n//listen to the python terminal output\r\nprocessRef.stdout.on(\r\n  'data',\r\n  function(data) {\r\n    data_line += data;\r\n    if (data_line[data_line.length-1] == '\\n') {\r\n      console.log(data_line);\r\n    }\r\n  }\r\n);\r\n\r\nconst pythonTerminalInput=`primes = [2, 3, 5, 7]\r\nfor prime in primes:\r\n    print(prime)\r\n\r\n`;\r\n\r\n//show what we are doing\r\nconsole.log(`>>>${pythonTerminalInput}`);\r\n\r\n//send it to the open python terminal\r\nprocessRef.stdin.write(pythonTerminalInput);\r\n\r\n```\r\n\r\nOutput :\r\n\r\n```python\r\n\r\n>>>primes = [2, 3, 5, 7]\r\nfor prime in primes:\r\n    print(prime)\r\n\r\n\r\n2\r\n3\r\n5\r\n7\r\n\r\n\r\n```\r\n","_attachments":{},"homepage":"https://github.com/RIAEvangelist/node-cmd","bugs":{"url":"https://github.com/RIAEvangelist/node-cmd/issues"},"license":"MIT"}