{"name":"line","version":"0.1.2","description":"Control flow like a boss","keywords":["ender","flow","control","async"],"author":{"name":"Andrew McCollum","email":"amccollum@gmail.com"},"url":"http://github.com/amccollum/line","repositories":[{"type":"git","url":"http://github.com/amccollum/line.git"}],"licenses":[{"type":"MIT","url":"http://opensource.org/licenses/mit-license.php"}],"main":"lib/line.js","directories":{"lib":"lib"},"devDependencies":{"coffee-script":"*","ender-vows":"*"},"readme":"line\n===\nLine is designed to work with CoffeeScript.\n\nHere's an example:\n\n```CoffeeScript\nline ->\n    fs.readdir 'my_dir', line.wait()\n    \nline (files) ->\n    fs.readFile \"my_dir/#{files[0]}\", 'utf8', line.wait('f1')\n    fs.readFile \"my_dir/#{files[1]}\", 'utf8', line.wait('f2')\n    fs.stat \"my_dir/#{files[2]}\", line.wait()\n\nline (stats) ->\n    console.log('Contents of the first file:', @results.f1)\n    console.log('Contents of the second file:', @results.f2)\n    console.log('Result of fs.stat for the third file:', stats)\n    \n    # If there is no line.wait() call, the callback will complete immediately\n    \nline.error (err) ->\n    console.log('Oh no! One of the callbacks showed an error!')\n\nline.run ->\n    console.log('All the tasks completed without errors.')\n        \n```\n","_id":"line@0.1.2","dist":{"shasum":"3b19561d1b42b8ffde5444f98947115e0b740d38","tarball":"http://registry-npm.ywwl.com/line/download/line-0.1.2.tgz","integrity":"sha512-nrQf54iht7/tuxAZ/ltjr25ul00mB+beBEPfNLuot8OD3kkRCfQTbh7BajkPBKHjLXLxhxMxULFHGj4dgJ0tXw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkv59TAcBEa1eKq+QMLaOGHpbtIAkda7t3+hurmY1EeAIge1eFIKrWKryccVpBFDcrSRs3a2vml5OyuRpurCIKJM0="}],"size":4629,"noattachment":false,"key":"/line/-/line-0.1.2.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"amccollum","email":"amccollum+npm@gmail.com"},"maintainers":[{"name":"amccollum","email":"amccollum+npm@gmail.com"}],"publish_time":1346788134019,"_cnpm_publish_time":1346788134019,"dist-tags":{"latest":"0.1.8"}}