{"_id":"glslify-stream","_rev":"398819","name":"glslify-stream","description":"create a readable stream of glsl ast nodes that produce a module system","dist-tags":{"latest":"1.1.1"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"mattdesl","email":"dave.des@gmail.com"},{"name":"mikkoh","email":"me@mikkoh.com"},{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},{"name":"rezaali","email":"syed.reza.ali@gmail.com"},{"name":"tatumcreative","email":"tatum.creative@gmail.com"},{"name":"thibauts","email":"thibaut.seguy@gmail.com"},{"name":"wwwtyro","email":"wwwtyro@gmail.com"},{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"}],"time":{"modified":"2021-08-04T04:23:37.000Z","created":"2012-12-03T08:28:08.006Z","1.1.1":"2014-07-27T12:23:53.704Z","1.1.0":"2014-07-27T00:33:05.250Z","1.0.1":"2014-07-05T21:52:52.798Z","1.0.0":"2014-07-05T21:51:19.430Z","0.4.1":"2014-06-27T23:39:35.284Z","0.4.0":"2014-06-20T10:40:11.092Z","0.3.0":"2014-06-06T20:47:13.602Z","0.2.1":"2014-04-05T12:28:06.506Z","0.2.0":"2014-04-04T21:16:38.392Z","0.1.0":"2013-12-23T02:12:10.734Z","0.0.1":"2012-12-04T08:48:33.194Z","0.0.0":"2012-12-03T08:28:08.006Z"},"users":{},"repository":{"type":"git","url":"git://github.com/gl-modules/glslify-stream.git"},"versions":{"1.1.1":{"name":"glslify-stream","version":"1.1.1","description":"create a readable stream of glsl ast nodes that produce a module system","main":"index.js","dependencies":{"commondir":"0.0.1","cssauron":"~0.0.2","cssauron-glsl":"~0.0.0","emit-function":"0.0.2","glsl-parser":"^1.0.0","glsl-resolve":"0.0.1","glsl-tokenizer":"^1.0.0","resolve":"~0.5.1","shortest":"~0.0.0","stream-combiner":"0.0.2","through":"^2.3.4","wrap-stream":"0.0.0"},"devDependencies":{"glsl-deparser":"0.0.2"},"scripts":{"test":"node test/index.js"},"repository":{"type":"git","url":"git://github.com/gl-modules/glslify-stream.git"},"keywords":["glslify","glsl","module","system","stream"],"authors":["Hugh Kennedy <hughskennedy@gmail.com> (http://hughsk.io/)","Mikola Lysenko <mikolalysenko@gmail.com> (http://0fps.net)","Chris Dickinson <chris@neversaw.us> (http://neversaw.us)"],"license":"MIT","gitHead":"607d0256aabacfa0682217acb32c27efc55047cb","bugs":{"url":"https://github.com/gl-modules/glslify-stream/issues"},"homepage":"https://github.com/gl-modules/glslify-stream","_id":"glslify-stream@1.1.1","_shasum":"3056a06e5ebc2d4dfd3bfb2e8d6d23d6a493357c","_from":".","_npmVersion":"1.5.0-alpha-4","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"mattdesl","email":"dave.des@gmail.com"},{"name":"mikkoh","email":"me@mikkoh.com"},{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},{"name":"rezaali","email":"syed.reza.ali@gmail.com"},{"name":"tatumcreative","email":"tatum.creative@gmail.com"},{"name":"thibauts","email":"thibaut.seguy@gmail.com"},{"name":"wwwtyro","email":"wwwtyro@gmail.com"},{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"}],"dist":{"shasum":"3056a06e5ebc2d4dfd3bfb2e8d6d23d6a493357c","size":4166,"noattachment":false,"key":"/glslify-stream/-/glslify-stream-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/glslify-stream/download/glslify-stream-1.1.1.tgz"},"directories":{},"publish_time":1406463833704,"_cnpm_publish_time":1406463833704,"_hasShrinkwrap":false},"1.1.0":{"name":"glslify-stream","version":"1.1.0","description":"create a readable stream of glsl ast nodes that produce a module system","main":"index.js","dependencies":{"commondir":"0.0.1","cssauron":"~0.0.2","cssauron-glsl":"~0.0.0","emit-function":"0.0.2","glsl-parser":"^1.0.0","glsl-resolve":"0.0.1","glsl-tokenizer":"^1.0.0","resolve":"~0.5.1","shortest":"~0.0.0","stream-combiner":"0.0.2","through":"^2.3.4","wrap-stream":"0.0.0"},"devDependencies":{"glsl-deparser":"0.0.2"},"scripts":{"test":"node test/index.js"},"repository":{"type":"git","url":"git://github.com/gl-modules/glslify-stream.git"},"keywords":["glslify","glsl","module","system","stream"],"authors":["Hugh Kennedy <hughskennedy@gmail.com> (http://hughsk.io/)","Mikola Lysenko <mikolalysenko@gmail.com> (http://0fps.net)","Chris Dickinson <chris@neversaw.us> (http://neversaw.us)"],"license":"MIT","gitHead":"5bb5771c64d40d626e0b4c983841b1c0f809f344","bugs":{"url":"https://github.com/gl-modules/glslify-stream/issues"},"homepage":"https://github.com/gl-modules/glslify-stream","_id":"glslify-stream@1.1.0","_shasum":"a72ee4f21fef5d52c3571ce4ecfe31fdf2a2383a","_from":".","_npmVersion":"1.5.0-alpha-4","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"mattdesl","email":"dave.des@gmail.com"},{"name":"mikkoh","email":"me@mikkoh.com"},{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},{"name":"rezaali","email":"syed.reza.ali@gmail.com"},{"name":"tatumcreative","email":"tatum.creative@gmail.com"},{"name":"thibauts","email":"thibaut.seguy@gmail.com"},{"name":"wwwtyro","email":"wwwtyro@gmail.com"},{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"}],"dist":{"shasum":"a72ee4f21fef5d52c3571ce4ecfe31fdf2a2383a","size":4149,"noattachment":false,"key":"/glslify-stream/-/glslify-stream-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/glslify-stream/download/glslify-stream-1.1.0.tgz"},"directories":{},"publish_time":1406421185250,"_cnpm_publish_time":1406421185250,"_hasShrinkwrap":false},"1.0.1":{"name":"glslify-stream","version":"1.0.1","description":"create a readable stream of glsl ast nodes that produce a module system","main":"index.js","dependencies":{"commondir":"0.0.1","cssauron":"~0.0.2","cssauron-glsl":"~0.0.0","emit-function":"0.0.2","glsl-parser":"^1.0.0","glsl-resolve":"0.0.1","glsl-tokenizer":"^1.0.0","resolve":"~0.5.1","shortest":"~0.0.0","stream-combiner":"0.0.2","through":"^2.3.4","wrap-stream":"0.0.0"},"devDependencies":{"glsl-deparser":"0.0.2"},"scripts":{"test":"node test/index.js"},"repository":{"type":"git","url":"git://github.com/gl-modules/glslify-stream.git"},"keywords":["glslify","glsl","module","system","stream"],"authors":["Hugh Kennedy <hughskennedy@gmail.com> (http://hughsk.io/)","Mikola Lysenko <mikolalysenko@gmail.com> (http://0fps.net)","Chris Dickinson <chris@neversaw.us> (http://neversaw.us)"],"license":"MIT","gitHead":"427274e8679c81d676677ea3fa3baaa2f5485ea6","bugs":{"url":"https://github.com/gl-modules/glslify-stream/issues"},"homepage":"https://github.com/gl-modules/glslify-stream","_id":"glslify-stream@1.0.1","_shasum":"4c0f2fbb3962a54d5c2fc8d3b427b81249d9d07e","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"chrisdickinson","email":"chris@neversaw.us"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"mattdesl","email":"dave.des@gmail.com"},{"name":"mikkoh","email":"me@mikkoh.com"},{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},{"name":"rezaali","email":"syed.reza.ali@gmail.com"},{"name":"tatumcreative","email":"tatum.creative@gmail.com"},{"name":"thibauts","email":"thibaut.seguy@gmail.com"},{"name":"wwwtyro","email":"wwwtyro@gmail.com"},{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"}],"dist":{"shasum":"4c0f2fbb3962a54d5c2fc8d3b427b81249d9d07e","size":3829,"noattachment":false,"key":"/glslify-stream/-/glslify-stream-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/glslify-stream/download/glslify-stream-1.0.1.tgz"},"directories":{},"publish_time":1404597172798,"_cnpm_publish_time":1404597172798,"_hasShrinkwrap":false},"1.0.0":{"name":"glslify-stream","version":"1.0.0","description":"create a readable stream of glsl ast nodes that produce a module system","main":"index.js","dependencies":{"commondir":"0.0.1","cssauron":"~0.0.2","cssauron-glsl":"~0.0.0","emit-function":"0.0.2","glsl-parser":"^1.0.0","glsl-resolve":"0.0.1","glsl-tokenizer":"^1.0.0","resolve":"~0.5.1","shortest":"~0.0.0","stream-combiner":"0.0.2","through":"^2.3.4","wrap-stream":"0.0.0"},"devDependencies":{"glsl-deparser":"0.0.2"},"scripts":{"test":"node test/index.js"},"repository":{"type":"git","url":"git://github.com/chrisdickinson/glslify-stream.git"},"keywords":["glslify","glsl","module","system","stream"],"authors":["Hugh Kennedy <hughskennedy@gmail.com> (http://hughsk.io/)","Mikola Lysenko <mikolalysenko@gmail.com> (http://0fps.net)","Chris Dickinson <chris@neversaw.us> (http://neversaw.us)"],"license":"MIT","gitHead":"2bd4b9869eca02f7a23b8a821192d3306ff1582b","bugs":{"url":"https://github.com/chrisdickinson/glslify-stream/issues"},"homepage":"https://github.com/chrisdickinson/glslify-stream","_id":"glslify-stream@1.0.0","_shasum":"58195df8921d38381b42c8c322e6415f3f889b97","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"chrisdickinson","email":"chris@neversaw.us"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"mattdesl","email":"dave.des@gmail.com"},{"name":"mikkoh","email":"me@mikkoh.com"},{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},{"name":"rezaali","email":"syed.reza.ali@gmail.com"},{"name":"tatumcreative","email":"tatum.creative@gmail.com"},{"name":"thibauts","email":"thibaut.seguy@gmail.com"},{"name":"wwwtyro","email":"wwwtyro@gmail.com"},{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"}],"dist":{"shasum":"58195df8921d38381b42c8c322e6415f3f889b97","size":3822,"noattachment":false,"key":"/glslify-stream/-/glslify-stream-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/glslify-stream/download/glslify-stream-1.0.0.tgz"},"directories":{},"publish_time":1404597079430,"_cnpm_publish_time":1404597079430,"_hasShrinkwrap":false},"0.4.1":{"name":"glslify-stream","version":"0.4.1","description":"create a readable stream of glsl ast nodes that produce a module system","main":"index.js","dependencies":{"commondir":"0.0.1","cssauron":"~0.0.2","cssauron-glsl":"~0.0.0","emit-function":"0.0.2","glsl-parser":"^1.0.0","glsl-resolve":"0.0.1","glsl-tokenizer":"~0.0.8","resolve":"~0.5.1","shortest":"~0.0.0","stream-combiner":"0.0.2","through":"~1.1.2","wrap-stream":"0.0.0"},"devDependencies":{"glsl-deparser":"0.0.2"},"scripts":{"test":"node test/index.js"},"repository":{"type":"git","url":"git://github.com/chrisdickinson/glslify-stream.git"},"keywords":["glslify","glsl","module","system","stream"],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"license":"MIT","bugs":{"url":"https://github.com/chrisdickinson/glslify-stream/issues"},"homepage":"https://github.com/chrisdickinson/glslify-stream","_id":"glslify-stream@0.4.1","_shasum":"c6e623ac67fca10c266476feddb9422273c57860","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"chrisdickinson","email":"chris@neversaw.us"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"mattdesl","email":"dave.des@gmail.com"},{"name":"mikkoh","email":"me@mikkoh.com"},{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},{"name":"rezaali","email":"syed.reza.ali@gmail.com"},{"name":"tatumcreative","email":"tatum.creative@gmail.com"},{"name":"thibauts","email":"thibaut.seguy@gmail.com"},{"name":"wwwtyro","email":"wwwtyro@gmail.com"},{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"}],"dist":{"shasum":"c6e623ac67fca10c266476feddb9422273c57860","size":3752,"noattachment":false,"key":"/glslify-stream/-/glslify-stream-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/glslify-stream/download/glslify-stream-0.4.1.tgz"},"directories":{},"publish_time":1403912375284,"_cnpm_publish_time":1403912375284,"_hasShrinkwrap":false},"0.4.0":{"name":"glslify-stream","version":"0.4.0","description":"create a readable stream of glsl ast nodes that produce a module system","main":"index.js","dependencies":{"commondir":"0.0.1","cssauron":"~0.0.2","cssauron-glsl":"~0.0.0","emit-function":"0.0.2","glsl-parser":"~0.0.6","glsl-resolve":"0.0.1","glsl-tokenizer":"~0.0.8","resolve":"~0.5.1","shortest":"~0.0.0","stream-combiner":"0.0.2","through":"~1.1.2","wrap-stream":"0.0.0"},"devDependencies":{"glsl-deparser":"0.0.2"},"scripts":{"test":"node test/index.js"},"repository":{"type":"git","url":"git://github.com/chrisdickinson/glslify-stream.git"},"keywords":["glslify","glsl","module","system","stream"],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"license":"MIT","gitHead":"03c95c08425b12137c47955c4f42e0abeabe3776","bugs":{"url":"https://github.com/chrisdickinson/glslify-stream/issues"},"homepage":"https://github.com/chrisdickinson/glslify-stream","_id":"glslify-stream@0.4.0","_shasum":"c93b5e80e54dca41912d6589d95a2abd5e2ba682","_from":".","_npmVersion":"1.4.13","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"mattdesl","email":"dave.des@gmail.com"},{"name":"mikkoh","email":"me@mikkoh.com"},{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},{"name":"rezaali","email":"syed.reza.ali@gmail.com"},{"name":"tatumcreative","email":"tatum.creative@gmail.com"},{"name":"thibauts","email":"thibaut.seguy@gmail.com"},{"name":"wwwtyro","email":"wwwtyro@gmail.com"},{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"}],"dist":{"shasum":"c93b5e80e54dca41912d6589d95a2abd5e2ba682","size":3734,"noattachment":false,"key":"/glslify-stream/-/glslify-stream-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/glslify-stream/download/glslify-stream-0.4.0.tgz"},"directories":{},"publish_time":1403260811092,"_cnpm_publish_time":1403260811092,"_hasShrinkwrap":false},"0.3.0":{"name":"glslify-stream","version":"0.3.0","description":"create a readable stream of glsl ast nodes that produce a module system","main":"index.js","dependencies":{"cssauron":"~0.0.2","cssauron-glsl":"~0.0.0","glsl-parser":"~0.0.6","glsl-tokenizer":"~0.0.8","shortest":"~0.0.0","through":"~1.1.2","commondir":"0.0.1","stream-combiner":"0.0.2","resolve":"~0.5.1","glsl-resolve":"0.0.1","wrap-stream":"0.0.0"},"devDependencies":{"glsl-deparser":"0.0.2"},"scripts":{"test":"node test/index.js"},"repository":{"type":"git","url":"git://github.com/chrisdickinson/glslify-stream.git"},"keywords":["glslify","glsl","module","system","stream"],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"license":"MIT","gitHead":"c7ecc3b4cc72a2187860ee71c25ab7f20efe8233","bugs":{"url":"https://github.com/chrisdickinson/glslify-stream/issues"},"homepage":"https://github.com/chrisdickinson/glslify-stream","_id":"glslify-stream@0.3.0","_shasum":"23f3f309e639ebde457f642b39149796ba0dcde2","_from":".","_npmVersion":"1.4.13","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"mattdesl","email":"dave.des@gmail.com"},{"name":"mikkoh","email":"me@mikkoh.com"},{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},{"name":"rezaali","email":"syed.reza.ali@gmail.com"},{"name":"tatumcreative","email":"tatum.creative@gmail.com"},{"name":"thibauts","email":"thibaut.seguy@gmail.com"},{"name":"wwwtyro","email":"wwwtyro@gmail.com"},{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"}],"dist":{"shasum":"23f3f309e639ebde457f642b39149796ba0dcde2","size":3707,"noattachment":false,"key":"/glslify-stream/-/glslify-stream-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/glslify-stream/download/glslify-stream-0.3.0.tgz"},"directories":{},"publish_time":1402087633602,"_cnpm_publish_time":1402087633602,"_hasShrinkwrap":false},"0.2.1":{"name":"glslify-stream","version":"0.2.1","description":"create a readable stream of glsl ast nodes that produce a module system","main":"index.js","dependencies":{"cssauron":"~0.0.2","cssauron-glsl":"~0.0.0","glsl-parser":"~0.0.6","glsl-tokenizer":"~0.0.8","shortest":"~0.0.0","through":"~1.1.2","commondir":"0.0.1","stream-combiner":"0.0.2","resolve":"~0.5.1","glsl-resolve":"0.0.1","wrap-stream":"0.0.0"},"devDependencies":{"glsl-deparser":"0.0.2"},"scripts":{"test":"node test/index.js"},"repository":{"type":"git","url":"git://github.com/chrisdickinson/glslify-stream.git"},"keywords":["glslify","glsl","module","system","stream"],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"license":"MIT","bugs":{"url":"https://github.com/chrisdickinson/glslify-stream/issues"},"homepage":"https://github.com/chrisdickinson/glslify-stream","_id":"glslify-stream@0.2.1","dist":{"shasum":"248b3cc21ff0986142c394751e3f7ad787553d9c","size":3645,"noattachment":false,"key":"/glslify-stream/-/glslify-stream-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/glslify-stream/download/glslify-stream-0.2.1.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"mattdesl","email":"dave.des@gmail.com"},{"name":"mikkoh","email":"me@mikkoh.com"},{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},{"name":"rezaali","email":"syed.reza.ali@gmail.com"},{"name":"tatumcreative","email":"tatum.creative@gmail.com"},{"name":"thibauts","email":"thibaut.seguy@gmail.com"},{"name":"wwwtyro","email":"wwwtyro@gmail.com"},{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"}],"directories":{},"publish_time":1396700886506,"_cnpm_publish_time":1396700886506,"_hasShrinkwrap":false},"0.2.0":{"name":"glslify-stream","version":"0.2.0","description":"create a readable stream of glsl ast nodes that produce a module system","main":"index.js","dependencies":{"cssauron":"~0.0.2","cssauron-glsl":"~0.0.0","glsl-parser":"~0.0.4","glsl-tokenizer":"~0.0.8","shortest":"~0.0.0","through":"~1.1.2","commondir":"0.0.1","stream-combiner":"0.0.2","resolve":"~0.5.1","glsl-resolve":"0.0.1","wrap-stream":"0.0.0"},"devDependencies":{"glsl-deparser":"0.0.2"},"scripts":{"test":"node test/index.js"},"repository":{"type":"git","url":"git://github.com/chrisdickinson/glslify-stream.git"},"keywords":["glslify","glsl","module","system","stream"],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"license":"MIT","bugs":{"url":"https://github.com/chrisdickinson/glslify-stream/issues"},"homepage":"https://github.com/chrisdickinson/glslify-stream","_id":"glslify-stream@0.2.0","dist":{"shasum":"f27b38e8a0572cb754e91cd8b0f700045c624e1a","size":3639,"noattachment":false,"key":"/glslify-stream/-/glslify-stream-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/glslify-stream/download/glslify-stream-0.2.0.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"mattdesl","email":"dave.des@gmail.com"},{"name":"mikkoh","email":"me@mikkoh.com"},{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},{"name":"rezaali","email":"syed.reza.ali@gmail.com"},{"name":"tatumcreative","email":"tatum.creative@gmail.com"},{"name":"thibauts","email":"thibaut.seguy@gmail.com"},{"name":"wwwtyro","email":"wwwtyro@gmail.com"},{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"}],"directories":{},"publish_time":1396646198392,"_cnpm_publish_time":1396646198392,"_hasShrinkwrap":false},"0.1.0":{"name":"glslify-stream","version":"0.1.0","description":"create a readable stream of glsl ast nodes that produce a module system","main":"index.js","dependencies":{"cssauron":"~0.0.2","cssauron-glsl":"~0.0.0","glsl-parser":"~0.0.4","glsl-tokenizer":"~0.0.8","shortest":"~0.0.0","through":"~1.1.2","commondir":"0.0.1","stream-combiner":"0.0.2","resolve":"~0.5.1","wrap-stream":"0.0.0"},"devDependencies":{"glsl-deparser":"0.0.2"},"scripts":{"test":"node test/index.js"},"repository":{"type":"git","url":"git://github.com/chrisdickinson/glslify-stream.git"},"keywords":["glslify","glsl","module","system","stream"],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"license":"MIT","readmeFilename":"README.md","bugs":{"url":"https://github.com/chrisdickinson/glslify-stream/issues"},"homepage":"https://github.com/chrisdickinson/glslify-stream","_id":"glslify-stream@0.1.0","dist":{"shasum":"e79818ecbf1bd479c5614656e06d9a0f2935d379","size":3969,"noattachment":false,"key":"/glslify-stream/-/glslify-stream-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/glslify-stream/download/glslify-stream-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"mattdesl","email":"dave.des@gmail.com"},{"name":"mikkoh","email":"me@mikkoh.com"},{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},{"name":"rezaali","email":"syed.reza.ali@gmail.com"},{"name":"tatumcreative","email":"tatum.creative@gmail.com"},{"name":"thibauts","email":"thibaut.seguy@gmail.com"},{"name":"wwwtyro","email":"wwwtyro@gmail.com"},{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"}],"directories":{},"publish_time":1387764730734,"_cnpm_publish_time":1387764730734,"_hasShrinkwrap":false},"0.0.1":{"name":"glslify-stream","version":"0.0.1","description":"create a readable stream of glsl ast nodes that produce a module system","main":"index.js","dependencies":{"cssauron":"~0.0.2","cssauron-glsl":"~0.0.0","glsl-parser":"~0.0.4","glsl-tokenizer":"~0.0.8","shortest":"~0.0.0","through":"~1.1.2"},"devDependencies":{},"scripts":{"test":"node test/index.js"},"repository":{"type":"git","url":"git://github.com/chrisdickinson/glslify-stream.git"},"keywords":["glslify","glsl","module","system","stream"],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"license":"MIT","_id":"glslify-stream@0.0.1","dist":{"shasum":"9263642ec881af7333a493f722f29e9a306c337d","size":3518,"noattachment":false,"key":"/glslify-stream/-/glslify-stream-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/glslify-stream/download/glslify-stream-0.0.1.tgz"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"mattdesl","email":"dave.des@gmail.com"},{"name":"mikkoh","email":"me@mikkoh.com"},{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},{"name":"rezaali","email":"syed.reza.ali@gmail.com"},{"name":"tatumcreative","email":"tatum.creative@gmail.com"},{"name":"thibauts","email":"thibaut.seguy@gmail.com"},{"name":"wwwtyro","email":"wwwtyro@gmail.com"},{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"}],"directories":{},"publish_time":1354610913194,"_cnpm_publish_time":1354610913194,"_hasShrinkwrap":false},"0.0.0":{"name":"glslify-stream","version":"0.0.0","description":"create a readable stream of glsl ast nodes that produce a module system","main":"index.js","dependencies":{"cssauron":"~0.0.2","cssauron-glsl":"~0.0.0","glsl-parser":"~0.0.4","glsl-tokenizer":"~0.0.8","shortest":"~0.0.0","through":"~1.1.2"},"devDependencies":{},"scripts":{"test":"node test/index.js"},"repository":{"type":"git","url":"git://github.com/chrisdickinson/glslify-stream.git"},"keywords":["glslify","glsl","module","system","stream"],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"license":"MIT","_id":"glslify-stream@0.0.0","dist":{"shasum":"64ce7cf4c942bc4940d7e791ceb4922e260de863","size":3438,"noattachment":false,"key":"/glslify-stream/-/glslify-stream-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/glslify-stream/download/glslify-stream-0.0.0.tgz"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"mattdesl","email":"dave.des@gmail.com"},{"name":"mikkoh","email":"me@mikkoh.com"},{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},{"name":"rezaali","email":"syed.reza.ali@gmail.com"},{"name":"tatumcreative","email":"tatum.creative@gmail.com"},{"name":"thibauts","email":"thibaut.seguy@gmail.com"},{"name":"wwwtyro","email":"wwwtyro@gmail.com"},{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"}],"directories":{},"publish_time":1354523288006,"_cnpm_publish_time":1354523288006,"_hasShrinkwrap":false}},"readme":"# glslify-stream\n\ngiven a file path, create a readable stream of [glsl-parser](https://github.com/chrisdickinson/glsl-parser) AST nodes that represent the complete dependency tree of a glsl program.\n\n```javascript\n// usage: node test.js main.glsl > output.glsl\nvar glslify = require('./index')\n  , deparser = require('glsl-deparser')\n\nvar file = require('path').resolve(process.argv[process.argv.length - 1])\n\nglslify(file)\n  .pipe(deparser())\n  .pipe(process.stdout)\n```\n\n```c\n// main.glsl\nprecision highp float;\nuniform float time;\nuniform vec2 mouse;\nuniform vec2 resolution;\n\n#pragma glslify: program_one = require(./file1, time=time, mouse=mouse, resolution=resolution)\n#pragma glslify: program_two = require(./file2, time=time, mouse=mouse, resolution=resolution)\n\nint modulo(float x, float y) {\n  return int(x - y * floor(x / y));\n}\n\nvoid main(void) {\n  ivec2 m = ivec2(modulo(gl_FragCoord.x, 2.), modulo(gl_FragCoord.y, 2.));\n\n  if(m.x == 0 || m.y == 0) {\n    program_one();\n  } else { \n    program_two();\n  }\n}\n```\n\n```c\n// file1.glsl\nvoid main(void) {\n  gl_FragColor = vec4(1., 0., 0., 1.);\n}\n\n#pragma glslify: export(main)\n```\n\n```c\n// file2.glsl\nvoid main(void) {\n  gl_FragColor = vec4(0., 0., 1., 1.);\n}\n\n#pragma glslify: export(main)\n```\n\n# GLSL API\n\nGLSLify works by mangling top-level identities in non-root modules.\n\nExported variables will be aliased on requirement.\n\n### \\#pragma glslify: VARIABLE = require(MODULE[, NAME=EXPR])\n\nImport a module and assign it the name `VARIABLE` in the local program.\n\n`MODULE` may be located within `node_modules/` or relative to the current file.\n\n**Quotes are not allowed.**\n\nIf the target module defines `attribute`, `varying`, or `uniform` global variables,\nyou may map those to a local definition or expression:\n\n```c\n\nattribute vec4 position;\n#pragma glslify: x = require(./takes_vec2, module_variable=position.xy)\n\n```\n\nIf a mapping is not defined, those requirements are forwarded on to the module requiring\nthe current module -- if no mappings are found for a definition, an error is raised.\n\n### \\#pragma glslify: export(NAME)\n\nExports a local name from the current module. If the current module is the root, this is\na no-op. There may be only one exported `NAME` per module. The `NAME` may represent a\ntype, function, or variable.\n\n# JS API\n\n### glslify(path_to_file) -> readable stream\n\nReturn a readable stream of AST nodes representing the complete program.\n\n# License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/gl-modules/glslify-stream","bugs":{"url":"https://github.com/gl-modules/glslify-stream/issues"},"license":"MIT"}