{"_id":"line","_rev":"39-07b82515c2e58708299ca7f460149e85","name":"line","description":"Control flow like a boss","dist-tags":{"latest":"0.1.8"},"versions":{"0.0.1":{"name":"line","version":"0.0.1","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":"*"},"_npmUser":{"name":"amccollum","email":"amccollum+npm@gmail.com"},"_id":"line@0.0.1","dependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.6.7","_defaultsLoaded":true,"dist":{"shasum":"2b918b79c9ea22edf90924b613c0e1db4769a525","tarball":"https://registry.npmjs.org/line/-/line-0.0.1.tgz","integrity":"sha512-WWKGMrs3nyqCGVsJ3Qn6snoMvI82J26ViJbM6iFuWvpOL2AsEQj9dckpQn2Muc/64qtFsxIMvFSa9sGT86n19A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBCuYauKx4hOWeXohwB0ZVTyYDDoBWVyrEcTqrlw4ijvAiBMI+am1bJdV/1jaYsL14DbvUoOvWLpBW/UllwSgJThhg=="}]},"maintainers":[{"name":"amccollum","email":"amccollum+npm@gmail.com"}]},"0.0.2":{"name":"line","version":"0.0.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":"*"},"_npmUser":{"name":"amccollum","email":"amccollum+npm@gmail.com"},"_id":"line@0.0.2","dependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.6.7","_defaultsLoaded":true,"dist":{"shasum":"d67f01e3527608d327b048ce8a6eb3438eab26c7","tarball":"https://registry.npmjs.org/line/-/line-0.0.2.tgz","integrity":"sha512-9tOwdRo4kGuVAOAo79rw3QJg6GkzJ/nTVYskC1TGCo/nWoGVYkZDeoM94eWF3d7ObquP6yL2Au+nZcgciBiXcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhFM5VfQPJ97oHW7OGJ5REnxurGLdN6nwpy0kPyFbqgAIgLUIPraUFgyKLK20PT7ba4XZaUh90U2nJz9Z7WDwjTfc="}]},"maintainers":[{"name":"amccollum","email":"amccollum+npm@gmail.com"}]},"0.0.3":{"name":"line","version":"0.0.3","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":"*"},"_npmUser":{"name":"amccollum","email":"amccollum+npm@gmail.com"},"_id":"line@0.0.3","dependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.6.7","_defaultsLoaded":true,"dist":{"shasum":"8c1500619ef46a630256ee9952066e44376efcc3","tarball":"https://registry.npmjs.org/line/-/line-0.0.3.tgz","integrity":"sha512-5LLi8YgqIgiEhRLgszu5chgX1ZmD9eObvfBw9vYmFUYH3zjtgba71S9n7zM5g5H0iiUSR3i1l94XJiAFWbw22g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvDPLkzxAQ2M5wm8zetiYcG5hvGfQSoByFwAtUXHPfjQIhANaO6yg+t364WnsFE71mNim4WEiKAn8V5Pq/uQldfMdG"}]},"maintainers":[{"name":"amccollum","email":"amccollum+npm@gmail.com"}]},"0.1.0":{"name":"line","version":"0.1.0","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":"*"},"_npmUser":{"name":"amccollum","email":"amccollum+npm@gmail.com"},"_id":"line@0.1.0","dependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.6.7","_defaultsLoaded":true,"dist":{"shasum":"03f0beb0093123b1b492259a30425a79d4f9b0ba","tarball":"https://registry.npmjs.org/line/-/line-0.1.0.tgz","integrity":"sha512-kj2HuVTUSwrM7jCzDIKiNnvngdPWghhlZAqg0P3ao5sXuTcaDslxCFJqYObKPuW+Yz66QAMq/wJ2CbSMtu2FXw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDoO4X30a18Y1vR89xKVQfGGK9ku7leaaL3yguwRAkhWQIhAPoU9fITZFeGb3t9dPDEftgqhHL4mWoyiwC5HtvWwtYK"}]},"maintainers":[{"name":"amccollum","email":"amccollum+npm@gmail.com"}]},"0.1.1":{"name":"line","version":"0.1.1","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":"*"},"_npmUser":{"name":"amccollum","email":"amccollum+npm@gmail.com"},"_id":"line@0.1.1","dependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.6.7","_defaultsLoaded":true,"dist":{"shasum":"7c60b3fd3a0511e1dd56aa1cf9e11609405026d3","tarball":"https://registry.npmjs.org/line/-/line-0.1.1.tgz","integrity":"sha512-GCMJUK9FC+re7iiP3Mtj4VTdADXQJBxl+iSTqq27zMB4jzpQC9Kng4BPZQNFb7IS/qXm1bcC6EAy99JYaSoakw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICmC8r+ZFUuv5jWZtsu1YAxdYXESjbnZLH2Eig9mmW4iAiAo/jON+YI0ALvg4LrbgwmgMLr0hbpencC3rhT9kjlung=="}]},"maintainers":[{"name":"amccollum","email":"amccollum+npm@gmail.com"}]},"0.1.2":{"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":"https://registry.npmjs.org/line/-/line-0.1.2.tgz","integrity":"sha512-nrQf54iht7/tuxAZ/ltjr25ul00mB+beBEPfNLuot8OD3kkRCfQTbh7BajkPBKHjLXLxhxMxULFHGj4dgJ0tXw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkv59TAcBEa1eKq+QMLaOGHpbtIAkda7t3+hurmY1EeAIge1eFIKrWKryccVpBFDcrSRs3a2vml5OyuRpurCIKJM0="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"amccollum","email":"amccollum+npm@gmail.com"},"maintainers":[{"name":"amccollum","email":"amccollum+npm@gmail.com"}]},"0.1.3":{"name":"line","version":"0.1.3","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 flow control designed to work with CoffeeScript.\n\nHere's an example:\n\n```CoffeeScript\nLine = require('line').Line\n\ndata2 = null\n\nl = new Line\n\terror: (err) -> console.log('Oh no! One of the callbacks had an error:', err)\n\t\t\n\t-> fs.readdir 'my_dir', @wait()\n    \n\t(files) ->\n\t\t# Callback results can be named, or observed\n\t    fs.readFile \"my_dir/#{files[0]}\", 'utf8', @wait('data1')\n\t    fs.readFile \"my_dir/#{files[1]}\", 'utf8', @wait (data) -> data2 = data\n\t    fs.stat \"my_dir/#{files[2]}\", @wait()\n\n\t# By default, the result of the last wait() call will be passed on\n\t(stats) ->\n\t    console.log('Contents of the first file:', @results.data1)\n\t    console.log('Contents of the second file:', data2)\n\t    console.log('Result of fs.stat for the third file:', stats)\n    \n    # If there is no wait() call, the callback will complete immediately\n\n# Blocks can also be added later\nl.add -> console.log('All the tasks completed without errors.')\n```\n","_id":"line@0.1.3","dist":{"shasum":"423bc39e3967f0ba9265d734450bbb449baad071","tarball":"https://registry.npmjs.org/line/-/line-0.1.3.tgz","integrity":"sha512-eLjNUQVCqcEiNV1ff5lQjP+T//1TCQCj+f82yKHBDffC3BB6RkG0OcXYS0LOJus9XFpr5xJ4K7k5VkrLMxgw1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC35/lQ4AYWZ3wjYqkZCymiPkj1+cHKabNdgM3XpYnGMAIgRBFR4Eb2wDGnlHCmfs83nIfUwqTG/3S4dfzG9P+UhMY="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"amccollum","email":"amccollum+npm@gmail.com"},"maintainers":[{"name":"amccollum","email":"amccollum+npm@gmail.com"}]},"0.1.4":{"name":"line","version":"0.1.4","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 flow control designed to work with CoffeeScript.\n\nHere's an example:\n\n```CoffeeScript\nLine = require('line').Line\n\ndata2 = null\n\nl = new Line\n\terror: (err) -> console.log('Oh no! One of the callbacks had an error:', err)\n\t\t\n\t-> fs.readdir 'my_dir', @wait()\n    \n\t(files) ->\n\t\t# Callback results can be named, or observed\n\t    fs.readFile \"my_dir/#{files[0]}\", 'utf8', @wait('data1')\n\t    fs.readFile \"my_dir/#{files[1]}\", 'utf8', @wait (data) -> data2 = data\n\t    fs.stat \"my_dir/#{files[2]}\", @wait()\n\n\t# By default, the result of the last wait() call will be passed on\n\t(stats) ->\n\t    console.log('Contents of the first file:', @results.data1)\n\t    console.log('Contents of the second file:', data2)\n\t    console.log('Result of fs.stat for the third file:', stats)\n    \n    # If there is no wait() call, the callback will complete immediately\n\n# Blocks can also be added later\nl.add -> console.log('All the tasks completed without errors.')\n```\n","_id":"line@0.1.4","dist":{"shasum":"ff3806a053fdc91267a2f149a795c494bededcdc","tarball":"https://registry.npmjs.org/line/-/line-0.1.4.tgz","integrity":"sha512-gKNI7x0JDV7+vOI+ohvIseySgC5Vo/KmPVBbaHB78+WpoFbVA6sX6kg6K+wlumJYVvJ2fOFYYje5cusrsMRO1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDy0rLmI7tQOFGjgHtDGmboGM6pYVLXpV7kw5IwCFfklQIgcROkPNh/b+8U4B86UfIZtL392QYGptcSOXXh6BAB7w0="}]},"_npmVersion":"1.1.62","_npmUser":{"name":"amccollum","email":"amccollum+npm@gmail.com"},"maintainers":[{"name":"amccollum","email":"amccollum+npm@gmail.com"}]},"0.1.5":{"name":"line","version":"0.1.5","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","ender":"noop","directories":{"lib":"lib"},"devDependencies":{"coffee-script":"*","ender-vows":"*"},"readme":"line\n===\nLine is flow control designed to work with CoffeeScript.\n\nHere's an example:\n\n```CoffeeScript\nLine = require('line').Line\n\ndata2 = null\n\nl = new Line\n\terror: (err) -> console.log('Oh no! One of the callbacks had an error:', err)\n\t\t\n\t-> fs.readdir 'my_dir', @wait()\n    \n\t(files) ->\n\t\t# Callback results can be named, or observed\n\t    fs.readFile \"my_dir/#{files[0]}\", 'utf8', @wait('data1')\n\t    fs.readFile \"my_dir/#{files[1]}\", 'utf8', @wait (data) -> data2 = data\n\t    fs.stat \"my_dir/#{files[2]}\", @wait()\n\n\t# By default, the result of the last wait() call will be passed on\n\t(stats) ->\n\t    console.log('Contents of the first file:', @results.data1)\n\t    console.log('Contents of the second file:', data2)\n\t    console.log('Result of fs.stat for the third file:', stats)\n    \n    # If there is no wait() call, the callback will complete immediately\n\n# Blocks can also be added later\nl.add -> console.log('All the tasks completed without errors.')\n```\n","_id":"line@0.1.5","dist":{"shasum":"58f157377a00adab7bfef5dfb36f0519e576a2cb","tarball":"https://registry.npmjs.org/line/-/line-0.1.5.tgz","integrity":"sha512-gF8PVyjCEulF9wFrQJew2DNWajIRB/Gw99qG3/resu9mk3k6e3lD21TXUxj0eHoYAutSl1mT6TKYR6UOJAOejg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIES/2poF9DkoMSM9TOAtbR1BtniQw58V5aagkTMxAh3bAiBSjsMQXIHXyZOLNMlR2TxzBgmdqxic4+KIAy0nh6N3Dw=="}]},"_npmVersion":"1.1.62","_npmUser":{"name":"amccollum","email":"amccollum+npm@gmail.com"},"maintainers":[{"name":"amccollum","email":"amccollum+npm@gmail.com"}]},"0.1.6":{"name":"line","version":"0.1.6","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","ender":{"bridge":"noop","dependencies":"ender-events"},"directories":{"lib":"lib"},"devDependencies":{"coffee-script":"*","ender-vows":"*"},"readme":"line\n===\nLine is flow control designed to work with CoffeeScript.\n\nHere's an example:\n\n```CoffeeScript\nLine = require('line').Line\n\ndata2 = null\n\nl = new Line\n\terror: (err) -> console.log('Oh no! One of the callbacks had an error:', err)\n\t\t\n\t-> fs.readdir 'my_dir', @wait()\n    \n\t(files) ->\n\t\t# Callback results can be named, or observed\n\t    fs.readFile \"my_dir/#{files[0]}\", 'utf8', @wait('data1')\n\t    fs.readFile \"my_dir/#{files[1]}\", 'utf8', @wait (data) -> data2 = data\n\t    fs.stat \"my_dir/#{files[2]}\", @wait()\n\n\t# By default, the result of the last wait() call will be passed on\n\t(stats) ->\n\t    console.log('Contents of the first file:', @results.data1)\n\t    console.log('Contents of the second file:', data2)\n\t    console.log('Result of fs.stat for the third file:', stats)\n    \n    # If there is no wait() call, the callback will complete immediately\n\n# Blocks can also be added later\nl.add -> console.log('All the tasks completed without errors.')\n```\n","readmeFilename":"README.md","_id":"line@0.1.6","dist":{"shasum":"ac67229d5d07aad6689f46c2ba422bfb4aac01fb","tarball":"https://registry.npmjs.org/line/-/line-0.1.6.tgz","integrity":"sha512-c2aPRMSfs5CTza2GTppceYQoy8sc4AJpUjj8BPGikYkl66TAskoyXJLoyIm/I5jedLRcqVH7izKoWgghnx+JTw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeZ2H4YGqa6KzAeJnD0/YAXSBfI9YsUHinHP31RmVk0wIhANypbD4U/auDsQaqfnH2gAW1W+XXzMW/BvCarvbA+1Kt"}]},"_npmVersion":"1.1.65","_npmUser":{"name":"amccollum","email":"amccollum+npm@gmail.com"},"maintainers":[{"name":"amccollum","email":"amccollum+npm@gmail.com"}]},"0.1.7":{"name":"line","version":"0.1.7","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","ender":"noop","directories":{"lib":"lib"},"dependencies":{"ender-events":"*"},"devDependencies":{"coffee-script":"*","ender-vows":"*"},"readme":"line\n===\nLine is flow control designed to work with CoffeeScript.\n\nHere's an example:\n\n```CoffeeScript\nLine = require('line').Line\n\ndata2 = null\n\nl = new Line\n\terror: (err) -> console.log('Oh no! One of the callbacks had an error:', err)\n\t\t\n\t-> fs.readdir 'my_dir', @wait()\n    \n\t(files) ->\n\t\t# Callback results can be named, or observed\n\t    fs.readFile \"my_dir/#{files[0]}\", 'utf8', @wait('data1')\n\t    fs.readFile \"my_dir/#{files[1]}\", 'utf8', @wait (data) -> data2 = data\n\t    fs.stat \"my_dir/#{files[2]}\", @wait()\n\n\t# By default, the result of the last wait() call will be passed on\n\t(stats) ->\n\t    console.log('Contents of the first file:', @results.data1)\n\t    console.log('Contents of the second file:', data2)\n\t    console.log('Result of fs.stat for the third file:', stats)\n    \n    # If there is no wait() call, the callback will complete immediately\n\n# Blocks can also be added later\nl.add -> console.log('All the tasks completed without errors.')\n```\n","readmeFilename":"README.md","_id":"line@0.1.7","dist":{"shasum":"d36ea32ba07996cd162e123345fc43c62af10554","tarball":"https://registry.npmjs.org/line/-/line-0.1.7.tgz","integrity":"sha512-c8u5GL6OOsfenw86bcKBXTezLRbKlSAyRMO/+RXb38cZrlSSejtbbjMSew0alG1EKTgBaMVE1CcH8FikfIqbPA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgMtDFxjhOxN93qogNVgJKTte8YecYHkY5t46MlBYthAIhAP1bOIYmZayQ6GHrOWPZ706jHvCwVxS8bIFJh4cLGYy/"}]},"_npmVersion":"1.1.65","_npmUser":{"name":"amccollum","email":"amccollum+npm@gmail.com"},"maintainers":[{"name":"amccollum","email":"amccollum+npm@gmail.com"}]},"0.1.8":{"name":"line","version":"0.1.8","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","ender":"noop","directories":{"lib":"lib"},"dependencies":{"ender-events":"*"},"devDependencies":{"coffee-script":"*","ender-vows":"*"},"readme":"line\n===\nLine is flow control designed to work with CoffeeScript.\n\nHere's an example:\n\n```CoffeeScript\nLine = require('line').Line\n\ndata2 = null\n\nl = new Line\n\terror: (err) -> console.log('Oh no! One of the callbacks had an error:', err)\n\t\t\n\t-> fs.readdir 'my_dir', @wait()\n    \n\t(files) ->\n\t\t# Callback results can be named, or observed\n\t    fs.readFile \"my_dir/#{files[0]}\", 'utf8', @wait('data1')\n\t    fs.readFile \"my_dir/#{files[1]}\", 'utf8', @wait (data) -> data2 = data\n\t    fs.stat \"my_dir/#{files[2]}\", @wait()\n\n\t# By default, the result of the last wait() call will be passed on\n\t(stats) ->\n\t    console.log('Contents of the first file:', @results.data1)\n\t    console.log('Contents of the second file:', data2)\n\t    console.log('Result of fs.stat for the third file:', stats)\n    \n    # If there is no wait() call, the callback will complete immediately\n\n# Blocks can also be added later\nl.add -> console.log('All the tasks completed without errors.')\n```\n","readmeFilename":"README.md","_id":"line@0.1.8","dist":{"shasum":"eb756eafdc97345f1782abfa506788dc4da54c7c","tarball":"https://registry.npmjs.org/line/-/line-0.1.8.tgz","integrity":"sha512-HsI7pqrr3PcgXJvciVgLCdET8YJ0zkHr19g9s0s04yiDheXBs6ceIl2bR5uJI9JHLEyxxEAPOpRTyLNCiutfXg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmHsevhGKqFaD0ZqY8iy7PL3YFFRBf78GAE3OIbfp8FwIgYPoTGLKU8ZksgxeH4+Uv+rgx59HCaxqY7DDQQBYz8YY="}]},"_from":".","_npmVersion":"1.2.11","_npmUser":{"name":"amccollum","email":"amccollum+npm@gmail.com"},"maintainers":[{"name":"amccollum","email":"amccollum+npm@gmail.com"}]}},"readme":"line\n===\nLine is designed to work with CoffeeScript.\n\nHere's an example:\n\n```js\n    line ->\n        taskWithCallback line.wait()\n        \n    line (firstTaskResult) ->\n        anotherTask firstTaskResult, line.wait()\n    \n    line ->\n        finalTask line.wait()\n        \n    line.catch (err) ->\n        console.log('Oh no! One of the tasks had an error!')\n        throw err \n\n    line.run ->\n        console.log('All three tasks should be completed')\n        \n```\n","maintainers":[{"name":"amccollum","email":"amccollum+npm@gmail.com"}],"time":{"modified":"2022-06-19T12:27:30.091Z","created":"2012-02-12T21:07:20.617Z","0.0.1":"2012-02-12T21:07:20.987Z","0.0.2":"2012-02-15T02:18:52.493Z","0.0.3":"2012-02-15T02:56:04.419Z","0.1.0":"2012-02-18T17:02:07.642Z","0.1.1":"2012-02-22T20:51:10.966Z","0.1.2":"2012-09-04T19:48:54.019Z","0.1.3":"2012-09-26T23:01:55.381Z","0.1.4":"2012-10-03T19:09:47.242Z","0.1.5":"2012-10-21T05:14:03.834Z","0.1.6":"2013-02-01T00:16:15.455Z","0.1.7":"2013-02-01T00:20:21.995Z","0.1.8":"2013-02-18T06:42:18.025Z"},"author":{"name":"Andrew McCollum","email":"amccollum@gmail.com"}}