{"_id":"read-components","_rev":"32-b66c49fd4ffe70520c33f8ba0fc4e3a5","name":"read-components","description":"Read bower components","dist-tags":{"latest":"0.7.0"},"versions":{"0.1.0":{"name":"read-components","version":"0.1.0","description":"Read bower and component(1) components","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/paulmillr/read-components.git"},"author":{"name":"Paul Miller","url":"http://paulmillr.com"},"license":"BSD","dependencies":{},"devDependencies":{"mocha":"~1.10.0","chai":"~1.6.0"},"bugs":{"url":"https://github.com/paulmillr/read-components/issues"},"_id":"read-components@0.1.0","dist":{"shasum":"0a41901f66181c8823cc51af8bb90d5ec836d571","tarball":"https://registry.npmjs.org/read-components/-/read-components-0.1.0.tgz","integrity":"sha512-iSLK4rKLatc+F1kqnOq2XQk4q/Ya8btPawgtLPcsXX/JaI+uDaHLH93SxZr6e7oUiMqhzRngUHjAfnj3RnwjhQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpnh/5EgjIxNBiu+Hp/7fClw/PQgRdQ9Ml0yaD9xZNmgIgbSuUjQFgUOxSTr56N1UrduAEVO8wOW5u4m2E/sF/WtQ="}]},"_from":".","_npmVersion":"1.2.25","_npmUser":{"name":"paulmillr","email":"paul@paulmillr.com"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"}]},"0.2.0":{"name":"read-components","version":"0.2.0","description":"Read bower and component(1) components","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/paulmillr/read-components.git"},"author":{"name":"Paul Miller","url":"http://paulmillr.com"},"license":"BSD","dependencies":{},"devDependencies":{"mocha":"~1.10.0","chai":"~1.6.0"},"bugs":{"url":"https://github.com/paulmillr/read-components/issues"},"_id":"read-components@0.2.0","dist":{"shasum":"74f332300bd8293a149ef6ae712c9c85596bae36","tarball":"https://registry.npmjs.org/read-components/-/read-components-0.2.0.tgz","integrity":"sha512-Qr/x1BJAAXbyEBwRmVvqi68mZNTcNihGhR0Nll8eOvHDyv3W27jVsEMUhfjvMCcanQ75ens9V+Vot0f3COIShw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYLJob+h0XJkuXy5WCpKKmVpm6NcNw8hsVEiDePs+XcAIgCkgVuNCss0FeWExxrZQn4ebcDqqnQUSr/Oc4D91oq+I="}]},"_from":".","_npmVersion":"1.2.25","_npmUser":{"name":"paulmillr","email":"paul@paulmillr.com"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"}]},"0.2.1":{"name":"read-components","version":"0.2.1","description":"Read bower and component(1) components","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/paulmillr/read-components.git"},"author":{"name":"Paul Miller","url":"http://paulmillr.com"},"license":"BSD","dependencies":{"async-each":"~0.1.1"},"devDependencies":{"mocha":"~1.10.0","chai":"~1.6.0"},"bugs":{"url":"https://github.com/paulmillr/read-components/issues"},"_id":"read-components@0.2.1","dist":{"shasum":"db8877b168b4492a1d0f71db626cd17c51531c13","tarball":"https://registry.npmjs.org/read-components/-/read-components-0.2.1.tgz","integrity":"sha512-tG2befqH1as+sDpjwBRC0KyUyYCIVRGGrxsHpUzWaenHHavJoZjj6fcugAsxnG8TuHDvf2kuBpaWWtS4lhQYfw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlw4nbQ8WxwPdA1yI33AoO9pHktR3ROSnc8ALCUQICIAIhAKkpw/7QITQk7nFzpFLFnRiRcTS3PgQ64xviQy2y3jtU"}]},"_from":".","_npmVersion":"1.2.25","_npmUser":{"name":"paulmillr","email":"paul@paulmillr.com"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"}]},"0.3.0":{"name":"read-components","version":"0.3.0","description":"Read bower and component(1) components","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/paulmillr/read-components.git"},"author":{"name":"Paul Miller","url":"http://paulmillr.com"},"license":"BSD","dependencies":{"async-each":"~0.1.1"},"devDependencies":{"mocha":"~1.10.0","chai":"~1.6.0"},"bugs":{"url":"https://github.com/paulmillr/read-components/issues"},"_id":"read-components@0.3.0","dist":{"shasum":"f865c5a9452d1a54229b3a51a9a3a75a8b3767ef","tarball":"https://registry.npmjs.org/read-components/-/read-components-0.3.0.tgz","integrity":"sha512-XO+xm0ut3YP1r2UnfviUDO2r0W45CjeSKrplL1kH9TVeJPhlfCS/nqnkN3FQDgIeNGwZF7bZ4rRqAU2IQ6e1cQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQ9QDNNnlBS3RxEUSsxwFcSAQoDf18y8suJxhBOFeBngIhAKyFNr1f2tmUBXCFB2digqBI3TTqGwPDf6gUr3CpJcme"}]},"_from":".","_npmVersion":"1.2.25","_npmUser":{"name":"paulmillr","email":"paul@paulmillr.com"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"}]},"0.4.0":{"name":"read-components","version":"0.4.0","description":"Read bower and component(1) components","main":"index.js","scripts":{"test":"./node_modules/.bin/mocha"},"repository":{"type":"git","url":"git://github.com/paulmillr/read-components.git"},"author":{"name":"Paul Miller","url":"http://paulmillr.com"},"license":"BSD","dependencies":{"async-each":"~0.1.1"},"devDependencies":{"mocha":"~1.12.0","chai":"~1.7.0"},"bugs":{"url":"https://github.com/paulmillr/read-components/issues"},"_id":"read-components@0.4.0","dist":{"shasum":"32f51c6b18ce8a566ef4add8670808c0b39294f9","tarball":"https://registry.npmjs.org/read-components/-/read-components-0.4.0.tgz","integrity":"sha512-2XtNJ+ZXCMfjbCz4L8q/sYPZNCjKaPGFZftBNWFWiG5oa8pPJEWuVGT80LSHUxT4bsGHpJaGRPr10SHMzgTm3w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDxlLZNOSfoCib7fx6J639Rz2osqdgWwy9uPZJ26Yv0tAiEAxEaooIH+xIHtbUCCpa9gbkDHsquv0FrfD8UAD6pqg2o="}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"paulmillr","email":"paul@paulmillr.com"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"}]},"0.4.1":{"name":"read-components","version":"0.4.1","description":"Read bower and component(1) components","main":"index.js","scripts":{"test":"./node_modules/.bin/mocha"},"repository":{"type":"git","url":"git://github.com/paulmillr/read-components.git"},"author":{"name":"Paul Miller","url":"http://paulmillr.com"},"license":"BSD","dependencies":{"async-each":"~0.1.1"},"devDependencies":{"mocha":"~1.12.0","chai":"~1.7.0"},"bugs":{"url":"https://github.com/paulmillr/read-components/issues"},"_id":"read-components@0.4.1","dist":{"shasum":"edc40c9230b526a4171bc46961821c3b7afd6826","tarball":"https://registry.npmjs.org/read-components/-/read-components-0.4.1.tgz","integrity":"sha512-3pnEOXSH8dKih5Lch8bYEfqo2oVROd2xA+sm9MnflqVs8H/4iAELo6PhZTQ2WhSJBnqWzaddx+5bL4JslpswcQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH9aDlDo50dk4Pb8yO9xHlZPQXbRwfv96CeyD2zRj1cWAiEAxB8uyAPQmMc/aZy9KAyqdNZ5b32M3JV6tjjDc7XLYSM="}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"paulmillr","email":"paul@paulmillr.com"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"}]},"0.4.2":{"name":"read-components","version":"0.4.2","description":"Read bower and component(1) components","main":"index.js","scripts":{"test":"./node_modules/.bin/mocha"},"repository":{"type":"git","url":"git://github.com/paulmillr/read-components.git"},"author":{"name":"Paul Miller","url":"http://paulmillr.com"},"license":"BSD","dependencies":{"async-each":"~0.1.1"},"devDependencies":{"mocha":"~1.12.0","chai":"~1.7.0"},"bugs":{"url":"https://github.com/paulmillr/read-components/issues"},"_id":"read-components@0.4.2","dist":{"shasum":"d85d1ac16e4a5bd519dbcef79a2a00df2c221b9a","tarball":"https://registry.npmjs.org/read-components/-/read-components-0.4.2.tgz","integrity":"sha512-bZ/acchOb+DLHQ8mQ0NVQqvFuXEvpXDE4fOhcvnPczk2qWDEKPYWJLzpb+s0USwP99mHpFYfNnrdSmtrgf3fjA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPy/onAkaLf5T/jWtXd7qzA+X02CUYcRjqUeooL6FQQwIgRP0wsSS5nhzbLdi2GKqQXePW30AzHtrn2jzoRNvAzbk="}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"paulmillr","email":"paul@paulmillr.com"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"}]},"0.5.0":{"name":"read-components","version":"0.5.0","description":"Read bower and component(1) components","main":"index.js","scripts":{"test":"./node_modules/.bin/mocha"},"repository":{"type":"git","url":"git://github.com/paulmillr/read-components.git"},"author":{"name":"Paul Miller","url":"http://paulmillr.com"},"license":"BSD","dependencies":{"async-each":"~0.1.1"},"devDependencies":{"mocha":"~1.12.0","chai":"~1.7.0"},"bugs":{"url":"https://github.com/paulmillr/read-components/issues"},"_id":"read-components@0.5.0","dist":{"shasum":"11a888649d0fa8d725ad6c35e04d91959b42c421","tarball":"https://registry.npmjs.org/read-components/-/read-components-0.5.0.tgz","integrity":"sha512-n8AIHMKBjxGUaXXuYiH+hrUMOxqlLcOoZjOZFx/9NGYFJ7YOPL5LbFwCPsbknBWCI/hNvN/CzK9TzaQsHAfQAg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjK+TQJWeQbDx2El7nka0EJjQsB7o9NtOQEPEfFSd7xAIhAN87ybF4QGjoLYI/vH3HqLIDJLAYCeMgOd0jgMbeqtKB"}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"paulmillr","email":"paul@paulmillr.com"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"}]},"0.5.1":{"name":"read-components","version":"0.5.1","description":"Read bower and component(1) components","main":"index.js","scripts":{"test":"./node_modules/.bin/mocha"},"repository":{"type":"git","url":"git://github.com/paulmillr/read-components.git"},"author":{"name":"Paul Miller","url":"http://paulmillr.com"},"license":"BSD","dependencies":{"async-each":"~0.1.1"},"devDependencies":{"mocha":"~1.12.0","chai":"~1.7.0"},"bugs":{"url":"https://github.com/paulmillr/read-components/issues"},"_id":"read-components@0.5.1","dist":{"shasum":"a302bc482b28510d430c689d59e660c28bcde773","tarball":"https://registry.npmjs.org/read-components/-/read-components-0.5.1.tgz","integrity":"sha512-ewYdgRhqEYpkz5SyKhaJWbzTtuXyc6TQ/lVJwYoL3PMPNojuCsmrOl0/1kPDO9DOlvq+6FMMEog+GH95aFThFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPDtYWrS1FMNttNIicL+r27h60/YbvWLCWCgMkFIeP4AIhAMK9goZJOZl+9MhykpD+OHiLStlnE+pvXFNjDUaM2zGF"}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"paulmillr","email":"paul@paulmillr.com"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"}]},"0.5.2":{"name":"read-components","version":"0.5.2","description":"Read bower and component(1) components","main":"index.js","scripts":{"test":"./node_modules/.bin/mocha"},"repository":{"type":"git","url":"git://github.com/paulmillr/read-components.git"},"author":{"name":"Paul Miller","url":"http://paulmillr.com"},"license":"BSD","dependencies":{"async-each":"~0.1.3"},"devDependencies":{"mocha":"~1.12.0","chai":"~1.7.0"},"bugs":{"url":"https://github.com/paulmillr/read-components/issues"},"_id":"read-components@0.5.2","dist":{"shasum":"1547530180f27c8b990691ad3ac270689f224c1b","tarball":"https://registry.npmjs.org/read-components/-/read-components-0.5.2.tgz","integrity":"sha512-5wlfiQhxktkZAl/vn/CaXcuEFo/SgazIzv3U48MExr4yzapyQmhzHB8pJ91MREcwH0I3hcLr4oWdSxVtP3aVdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD31ZDWZenrFuQ3rz2jwrgFGLcdQ6EBr2CcGt6jQswx/QIhAJFaEyIxP07kD4gSY967YcEfkPRCYB4b01toWy9AXPgd"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"paulmillr","email":"paul@paulmillr.com"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"}]},"0.5.3":{"name":"read-components","version":"0.5.3","description":"Read bower and component(1) components","main":"index.js","scripts":{"test":"./node_modules/.bin/mocha"},"repository":{"type":"git","url":"git://github.com/paulmillr/read-components.git"},"author":{"name":"Paul Miller","url":"http://paulmillr.com"},"license":"BSD","dependencies":{"async-each":"~0.1.3"},"devDependencies":{"mocha":"~1.12.0","chai":"~1.7.0"},"bugs":{"url":"https://github.com/paulmillr/read-components/issues"},"_id":"read-components@0.5.3","dist":{"shasum":"c1d7c11c00499059d10ca3cd8cc6a0106b87c2cd","tarball":"https://registry.npmjs.org/read-components/-/read-components-0.5.3.tgz","integrity":"sha512-7ftDqpmVow0ubJK+PcrUEhD85f11W/KAXi/nv2shVeAnHb/v3vuwN6sT6J9v9yAD4q4pM2TQCxGInib2/gOnyA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBDt+3Jz/SQ1Wxc0CFEZvXRzJN6THrEv2diLPDMeOwOpAiATz+y4Dj2aK98Or5oqGIXhRXvxv5kLwYuDZNOnFJp7Vw=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"paulmillr","email":"paul@paulmillr.com"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"}]},"0.5.4":{"name":"read-components","version":"0.5.4","description":"Read bower and component(1) components","main":"index.js","scripts":{"test":"./node_modules/.bin/mocha"},"repository":{"type":"git","url":"git://github.com/paulmillr/read-components.git"},"author":{"name":"Paul Miller","url":"http://paulmillr.com"},"license":"BSD","dependencies":{"async-each":"~0.1.3"},"devDependencies":{"mocha":"~1.12.0","chai":"~1.7.0"},"bugs":{"url":"https://github.com/paulmillr/read-components/issues"},"homepage":"https://github.com/paulmillr/read-components","_id":"read-components@0.5.4","dist":{"shasum":"4bacd529aafb471165c4e0622e5d6482a9dee57f","tarball":"https://registry.npmjs.org/read-components/-/read-components-0.5.4.tgz","integrity":"sha512-CEP/YEZWhBnRqGV/u/iF4y6xMj/IJQngSAC4imWz42Q9ZWROYCnkyKxhOi2BsO/XdQjpQhukn0Nh/3qpdtvbWg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGK92rxI2hVBzlMg4p+O30WrvAXwK30HcyMDXetsSsD9AiBM6/R+cB1hHOPnctxIR7yVuHMs8USpGlu9tLUcL7fyIg=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"paulmillr","email":"paul@paulmillr.com"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"}]},"0.6.0":{"name":"read-components","version":"0.6.0","description":"Read bower and component(1) components","main":"index.js","scripts":{"test":"cd test && ../node_modules/.bin/mocha main-test.js"},"repository":{"type":"git","url":"git://github.com/paulmillr/read-components.git"},"author":{"name":"Paul Miller","url":"http://paulmillr.com"},"license":"BSD","dependencies":{"async-each":"~0.1.3","component-builder":"~0.10.0"},"devDependencies":{"mocha":"~1.12.0","chai":"~1.7.0"},"bugs":{"url":"https://github.com/paulmillr/read-components/issues"},"homepage":"https://github.com/paulmillr/read-components","_id":"read-components@0.6.0","dist":{"shasum":"25c7e54463feed2b36f57dd960c00651ec92ba4c","tarball":"https://registry.npmjs.org/read-components/-/read-components-0.6.0.tgz","integrity":"sha512-YuE+cppGQQM5yf/AMyIkgV1pP4RAiK91yJZZpZl5YVB79KJEwTfHl+CK6IqT/h0301E48Om7M9LdW5jV2LJZVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwt7cqrXzklm55/TbO5wm07T8lMpSCiiF7x8TeHwKWVQIhAP85SbLoAM8KZQsQmWGzBqIK+dq33ez+MhPxe3pHy8GS"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"paulmillr","email":"paul@paulmillr.com"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"}]},"0.6.1":{"name":"read-components","version":"0.6.1","description":"Read bower and component(1) components","main":"index.js","scripts":{"test":"cd test && ../node_modules/.bin/mocha main-test.js"},"repository":{"type":"git","url":"git://github.com/paulmillr/read-components.git"},"author":{"name":"Paul Miller","url":"http://paulmillr.com"},"license":"BSD","dependencies":{"async-each":"~0.1.3","component-builder":"~0.10.0"},"devDependencies":{"mocha":"~1.12.0","chai":"~1.7.0"},"gitHead":"80c20d09f6258618cd1c55a0d1c6f826039e3561","bugs":{"url":"https://github.com/paulmillr/read-components/issues"},"homepage":"https://github.com/paulmillr/read-components","_id":"read-components@0.6.1","_shasum":"45752f1c7c7e450742f4085fe6e24fccc5c75720","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"paulmillr","email":"paul@paulmillr.com"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"}],"dist":{"shasum":"45752f1c7c7e450742f4085fe6e24fccc5c75720","tarball":"https://registry.npmjs.org/read-components/-/read-components-0.6.1.tgz","integrity":"sha512-fiR58atCLYc2cwpsl05rFSXmHBno+7vOpyvoPLZsFTTe4v++JjnWp1OA/JjCxKMlmK7HjTT9UbN/yM3F6UTTKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFw2lrpFgud6fTe+47xtMy2j8MoAkXiBtiUN78tXfuTAAiAu0aGPo5Ckswbh8wtrHK1s5Hryj19xFqxPCpTisgGZfA=="}]}},"0.7.0":{"name":"read-components","version":"0.7.0","description":"Read bower components","main":"index.js","scripts":{"test":"cd test && ../node_modules/.bin/mocha main-test.js"},"repository":{"type":"git","url":"git://github.com/paulmillr/read-components.git"},"author":{"name":"Paul Miller","url":"http://paulmillr.com"},"license":"BSD","dependencies":{"async-each":"~1.0.0"},"devDependencies":{"mocha":"~1.12.0","chai":"~1.7.0"},"gitHead":"bfb8c723c63eaff3d5c67b203eb62b5e8cc4591b","bugs":{"url":"https://github.com/paulmillr/read-components/issues"},"homepage":"https://github.com/paulmillr/read-components#readme","_id":"read-components@0.7.0","_shasum":"77dce7adcb72a514240c47a675b9bcf7a3509dd9","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"paulmillr","email":"paul@paulmillr.com"},"maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"}],"dist":{"shasum":"77dce7adcb72a514240c47a675b9bcf7a3509dd9","tarball":"https://registry.npmjs.org/read-components/-/read-components-0.7.0.tgz","integrity":"sha512-j0lO07qNnE0tyB0AQKmmubAR3PayCk9MOeadpjp49Jeae/UBTpuTRdcp5EA/tlp25miTaZ9vkXf3ARuZ1PoliQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEUfyisD/T0n6OwTTkpcLzmoRTOuZiFmtCbmaqcmaSuZAiAymZldNCSM7lMV7fjWwPwO/6v/e9sCClwPaGUZC7nJDg=="}]},"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/read-components-0.7.0.tgz_1456185600780_0.7996567736845464"}}},"readme":"# read-components [![Build Status](https://travis-ci.org/paulmillr/read-components.svg?branch=add-travis)](https://travis-ci.org/paulmillr/read-components)\n\nRead Twitter Bower components.\n\nInstall with `npm install read-components`.\n\n> read-components was made for automatic builders like [Brunch](http://brunch.io).\nAutomatic means you don’t need to specify bower files which will be built.\nInstead, read-components reads root `bower.json`, opens `bower.json` of\nall packages and their dependencies and auto-calculates concatenation order.\n\n## Component JSON file must have `main` property.\n\nEvery component which is handled by bower must have \"main\" property in bower.json. You can specify this in your own `bower.json` in `overrides` section. See below for examples.\n\n## Why\n\nFor automatic builds, read-components requires files to have `dependencies` and `main` properties specified.\nBut not all bower packages have `bower.json` with `main` property specified.\nI’d say less than 50%. So parsing these will fail:\n\n```js\n// Root bower.json\n{\n  ...\n  \"dependencies\": {\n    \"chaplin\": \"*\"\n  }\n}\n\n// bower_components/chaplin/bower.json\n{\n  ...\n  \"dependencies\": {\"backbone\": \"*\"}\n}\n\n// bower_components/backbone/bower.json\n{// no deps, no `main`}\n```\n\nread-components solves the problem by allowing user to specify `bower.json`\n**overrides** in root config file.\n\nFor example, if your root bower.json looks like that\n\n```json\n{\n  \"dependencies\": {\"chaplin\": \"*\"},\n  \"overrides\": {\n    \"backbone\": {\n      \"main\": \"backbone.js\",\n      \"dependencies\": {\n        \"underscore\": \"~1.5.0\",\n        \"jquery\": \"~2.0.0\"\n      }\n    }\n  }\n}\n```\n\nread-components will treate backbone bower.json as completed and will produce\ncorrect output for automatic builders.\n\n## Usage\n\nNode.js:\n\n```javascript\nvar read = require('read-components');\n\nread('your-project-dir-with-bower.json', 'bower', function(error, components) {\n  console.log('All components:', components);\n});\n\nread('.', 'bower', function(error, components) {});\n```\n\nOutput is a list of packages like this:\n\n```json\n[{ \"name\": \"d\",\n  \"version\": \"1.0.2\",\n  \"files\": [ \"/Users/john/project/bower_components/d/index.js\" ],\n  \"dependencies\": { },\n  \"sortingLevel\": 2 },\n{ \"name\": \"e\",\n  \"version\": \"1.0.1\",\n  \"files\": [ \"/Users/paul/project/bower_components/e/index.js\" ],\n  \"dependencies\": { \"d\": \"~1.0.0\" },\n  \"sortingLevel\": 1 } ]\n```\n\nEach package will also have `sortingLevel` and `files` specified.\nYou can use it to get concatenation order like this:\n\n```javascript\n// Note that it is sorted like this by default.\npackages\n  .sort(function(a, b) {\n    var field = 'sortingLevel';\n    return b[field] - a[field];\n  })\n  .map(function(pkg) {\n    return pkg.files;\n  });\n```\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2013 Paul Miller (http://paulmillr.com/)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the “Software”), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","maintainers":[{"name":"paulmillr","email":"paul@paulmillr.com"}],"time":{"modified":"2022-06-26T09:13:00.483Z","created":"2013-06-14T06:45:59.154Z","0.1.0":"2013-06-14T06:46:02.646Z","0.2.0":"2013-06-18T10:46:57.757Z","0.2.1":"2013-06-18T11:10:40.013Z","0.3.0":"2013-06-19T06:48:25.440Z","0.4.0":"2013-07-06T21:20:05.496Z","0.4.1":"2013-07-07T03:56:53.160Z","0.4.2":"2013-07-07T04:23:40.968Z","0.5.0":"2013-07-12T03:20:36.991Z","0.5.1":"2013-07-13T10:04:58.332Z","0.5.2":"2013-11-08T23:44:18.885Z","0.5.3":"2013-11-13T20:54:42.216Z","0.5.4":"2013-12-14T00:40:50.737Z","0.6.0":"2013-12-16T16:01:44.943Z","0.6.1":"2014-08-23T09:58:25.308Z","0.7.0":"2016-02-23T00:00:04.880Z"},"author":{"name":"Paul Miller","url":"http://paulmillr.com"},"repository":{"type":"git","url":"git://github.com/paulmillr/read-components.git"},"homepage":"https://github.com/paulmillr/read-components#readme","bugs":{"url":"https://github.com/paulmillr/read-components/issues"},"license":"BSD","readmeFilename":"README.md"}