{"_id":"glslify-stream","_rev":"44-7e16d90cbc2e8f416858d9a8fe2f5550","name":"glslify-stream","dist-tags":{"latest":"1.1.1"},"versions":{"0.0.0":{"name":"glslify-stream","version":"0.0.0","keywords":["glslify","glsl","module","system","stream"],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"license":"MIT","_id":"glslify-stream@0.0.0","maintainers":[{"name":"chrisdickinson","email":"chris@neversaw.us"}],"dist":{"shasum":"64ce7cf4c942bc4940d7e791ceb4922e260de863","tarball":"https://registry.npmjs.org/glslify-stream/-/glslify-stream-0.0.0.tgz","integrity":"sha512-7o7TK6f5QZmei5y8N+B3dUurxGNO86wn22XkurqSzGNSOLOGLVCVuiDt/Msdk4Yl1nhbAVxrKUz945J+5p1mHQ==","signatures":[{"sig":"MEUCIQCGcA2Yc/AXfr4LJUSv/YMCETyLiLCsNsC1eeAywC2F0AIgSoQfdtu/nnpPdrTIBmhzZLYnxL/aJTagYwoNdjzTCxM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"test":"node test/index.js"},"repository":{"url":"git://github.com/chrisdickinson/glslify-stream.git","type":"git"},"description":"create a readable stream of glsl ast nodes that produce a module system","directories":{},"dependencies":{"through":"~1.1.2","cssauron":"~0.0.2","shortest":"~0.0.0","glsl-parser":"~0.0.4","cssauron-glsl":"~0.0.0","glsl-tokenizer":"~0.0.8"},"devDependencies":{}},"0.0.1":{"name":"glslify-stream","version":"0.0.1","keywords":["glslify","glsl","module","system","stream"],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"license":"MIT","_id":"glslify-stream@0.0.1","maintainers":[{"name":"chrisdickinson","email":"chris@neversaw.us"}],"dist":{"shasum":"9263642ec881af7333a493f722f29e9a306c337d","tarball":"https://registry.npmjs.org/glslify-stream/-/glslify-stream-0.0.1.tgz","integrity":"sha512-U7bGU12M5ip7yDbwGa6H8iQWiGiSCoo5ziywHX369TVlOE0RJ3qrC4o9GVIqZtVR8l7rrfMY+WrKfuFwMDsHDA==","signatures":[{"sig":"MEUCIQDPKT8G8wt2Aww/68HJwJjOkh43jBsA3s1DvNDOz7Th3QIgYEvR3dvlJPw+E+tUZyCZsGP+QLrKns4UVbSrYZt3HaM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","scripts":{"test":"node test/index.js"},"repository":{"url":"git://github.com/chrisdickinson/glslify-stream.git","type":"git"},"description":"create a readable stream of glsl ast nodes that produce a module system","directories":{},"dependencies":{"through":"~1.1.2","cssauron":"~0.0.2","shortest":"~0.0.0","glsl-parser":"~0.0.4","cssauron-glsl":"~0.0.0","glsl-tokenizer":"~0.0.8"},"devDependencies":{}},"0.1.0":{"name":"glslify-stream","version":"0.1.0","keywords":["glslify","glsl","module","system","stream"],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"license":"MIT","_id":"glslify-stream@0.1.0","maintainers":[{"name":"chrisdickinson","email":"chris@neversaw.us"},{"name":"hughsk","email":"hughskennedy@gmail.com"}],"homepage":"https://github.com/chrisdickinson/glslify-stream","bugs":{"url":"https://github.com/chrisdickinson/glslify-stream/issues"},"dist":{"shasum":"e79818ecbf1bd479c5614656e06d9a0f2935d379","tarball":"https://registry.npmjs.org/glslify-stream/-/glslify-stream-0.1.0.tgz","integrity":"sha512-O+58f9N/UKQkjmMDP399QHOiOwM6knIw+/XY11pr3dkRifyErydbbQ6oQECGVa+ux0YZkEWOQos/fRyuhA8vOg==","signatures":[{"sig":"MEYCIQDI06GE2alXbMujKatSSOR2Izwn4DFkL0rSaZPdJzRIRQIhAIsRGLKQph16LscOXTN65+z7apsXlLPeA4bRzSxuEK/U","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","scripts":{"test":"node test/index.js"},"_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"repository":{"url":"git://github.com/chrisdickinson/glslify-stream.git","type":"git"},"_npmVersion":"1.3.14","description":"create a readable stream of glsl ast nodes that produce a module system","directories":{},"dependencies":{"resolve":"~0.5.1","through":"~1.1.2","cssauron":"~0.0.2","shortest":"~0.0.0","commondir":"0.0.1","glsl-parser":"~0.0.4","wrap-stream":"0.0.0","cssauron-glsl":"~0.0.0","glsl-tokenizer":"~0.0.8","stream-combiner":"0.0.2"},"devDependencies":{"glsl-deparser":"0.0.2"}},"0.2.0":{"name":"glslify-stream","version":"0.2.0","keywords":["glslify","glsl","module","system","stream"],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"license":"MIT","_id":"glslify-stream@0.2.0","maintainers":[{"name":"chrisdickinson","email":"chris@neversaw.us"},{"name":"hughsk","email":"hughskennedy@gmail.com"}],"homepage":"https://github.com/chrisdickinson/glslify-stream","bugs":{"url":"https://github.com/chrisdickinson/glslify-stream/issues"},"dist":{"shasum":"f27b38e8a0572cb754e91cd8b0f700045c624e1a","tarball":"https://registry.npmjs.org/glslify-stream/-/glslify-stream-0.2.0.tgz","integrity":"sha512-Bji3/jDsaTDZoWFRzBE3QmYN0j1kBn9S/TWLicoZRwur+eIxYU18zoSBffkJ3191xMYdxntOll+biKltOPnVew==","signatures":[{"sig":"MEQCIHW/Se7Mr7xCpnqY+auYR177UHCXCsRmHghZcaKEYdSSAiA9/ijPVKr0qCTCIap2VPUzMD5RK0OP60KP16Ly8aPfbg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","scripts":{"test":"node test/index.js"},"_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"repository":{"url":"git://github.com/chrisdickinson/glslify-stream.git","type":"git"},"_npmVersion":"1.4.4","description":"create a readable stream of glsl ast nodes that produce a module system","directories":{},"dependencies":{"resolve":"~0.5.1","through":"~1.1.2","cssauron":"~0.0.2","shortest":"~0.0.0","commondir":"0.0.1","glsl-parser":"~0.0.4","wrap-stream":"0.0.0","glsl-resolve":"0.0.1","cssauron-glsl":"~0.0.0","glsl-tokenizer":"~0.0.8","stream-combiner":"0.0.2"},"devDependencies":{"glsl-deparser":"0.0.2"}},"0.2.1":{"name":"glslify-stream","version":"0.2.1","keywords":["glslify","glsl","module","system","stream"],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"license":"MIT","_id":"glslify-stream@0.2.1","maintainers":[{"name":"chrisdickinson","email":"chris@neversaw.us"},{"name":"hughsk","email":"hughskennedy@gmail.com"}],"homepage":"https://github.com/chrisdickinson/glslify-stream","bugs":{"url":"https://github.com/chrisdickinson/glslify-stream/issues"},"dist":{"shasum":"248b3cc21ff0986142c394751e3f7ad787553d9c","tarball":"https://registry.npmjs.org/glslify-stream/-/glslify-stream-0.2.1.tgz","integrity":"sha512-OoB3YKEA06Vc1El+c/zJTsRBPy1yB6V5GU1ZqqP0mrprl8WMQrDIAt7H61YIzEPJgRIw+wzRZ5aoNc4ZIEi0WQ==","signatures":[{"sig":"MEQCID1vwzQi8KG8zpmQnDHB5zR1OfNB2/2ZyOukeCLULHhkAiBR+uFT0QRBRgEi9vTXukxd0UZ/kBwL3co4ZECBPtYZAw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","scripts":{"test":"node test/index.js"},"_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"repository":{"url":"git://github.com/chrisdickinson/glslify-stream.git","type":"git"},"_npmVersion":"1.4.4","description":"create a readable stream of glsl ast nodes that produce a module system","directories":{},"dependencies":{"resolve":"~0.5.1","through":"~1.1.2","cssauron":"~0.0.2","shortest":"~0.0.0","commondir":"0.0.1","glsl-parser":"~0.0.6","wrap-stream":"0.0.0","glsl-resolve":"0.0.1","cssauron-glsl":"~0.0.0","glsl-tokenizer":"~0.0.8","stream-combiner":"0.0.2"},"devDependencies":{"glsl-deparser":"0.0.2"}},"0.3.0":{"name":"glslify-stream","version":"0.3.0","keywords":["glslify","glsl","module","system","stream"],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"license":"MIT","_id":"glslify-stream@0.3.0","maintainers":[{"name":"chrisdickinson","email":"chris@neversaw.us"},{"name":"hughsk","email":"hughskennedy@gmail.com"}],"homepage":"https://github.com/chrisdickinson/glslify-stream","bugs":{"url":"https://github.com/chrisdickinson/glslify-stream/issues"},"dist":{"shasum":"23f3f309e639ebde457f642b39149796ba0dcde2","tarball":"https://registry.npmjs.org/glslify-stream/-/glslify-stream-0.3.0.tgz","integrity":"sha512-nOZSwRrMk8FwGwZUgrZAPXVSf8SLz7uMrFtHf3oXFhfrFu198VmWjPmr9AbJZi9VVXB+yrO3LpVfwV6+BUl6LQ==","signatures":[{"sig":"MEUCIQDaTFdKBZAjbq405JnmjIzEp0U8VbpNdtMEDtpylwOZSQIgcSbZwDALIF08lyvB8yUe9ZU+J89AdPkRxjxxLPpmLrc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"23f3f309e639ebde457f642b39149796ba0dcde2","gitHead":"c7ecc3b4cc72a2187860ee71c25ab7f20efe8233","scripts":{"test":"node test/index.js"},"_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"repository":{"url":"git://github.com/chrisdickinson/glslify-stream.git","type":"git"},"_npmVersion":"1.4.13","description":"create a readable stream of glsl ast nodes that produce a module system","directories":{},"dependencies":{"resolve":"~0.5.1","through":"~1.1.2","cssauron":"~0.0.2","shortest":"~0.0.0","commondir":"0.0.1","glsl-parser":"~0.0.6","wrap-stream":"0.0.0","glsl-resolve":"0.0.1","cssauron-glsl":"~0.0.0","glsl-tokenizer":"~0.0.8","stream-combiner":"0.0.2"},"devDependencies":{"glsl-deparser":"0.0.2"}},"0.4.0":{"name":"glslify-stream","version":"0.4.0","keywords":["glslify","glsl","module","system","stream"],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"license":"MIT","_id":"glslify-stream@0.4.0","maintainers":[{"name":"chrisdickinson","email":"chris@neversaw.us"},{"name":"hughsk","email":"hughskennedy@gmail.com"}],"homepage":"https://github.com/chrisdickinson/glslify-stream","bugs":{"url":"https://github.com/chrisdickinson/glslify-stream/issues"},"dist":{"shasum":"c93b5e80e54dca41912d6589d95a2abd5e2ba682","tarball":"https://registry.npmjs.org/glslify-stream/-/glslify-stream-0.4.0.tgz","integrity":"sha512-YszZqkCk0LTDhrfMEzrqCKkuqN3nw3j1RaKi0e4NVtuN7DAsvPoku+xDhsuTTHX9ik9uU6maJiXKPR8+qP0lHA==","signatures":[{"sig":"MEQCIGNe1sNBGUK/CXq3y9ScheGK0rHwOt//D7oGMJPrWK65AiBXJFPc/QetkuhCMCCHghZH/vYgSS/Lfqkje6yijKMEKA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"c93b5e80e54dca41912d6589d95a2abd5e2ba682","gitHead":"03c95c08425b12137c47955c4f42e0abeabe3776","scripts":{"test":"node test/index.js"},"_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"repository":{"url":"git://github.com/chrisdickinson/glslify-stream.git","type":"git"},"_npmVersion":"1.4.13","description":"create a readable stream of glsl ast nodes that produce a module system","directories":{},"dependencies":{"resolve":"~0.5.1","through":"~1.1.2","cssauron":"~0.0.2","shortest":"~0.0.0","commondir":"0.0.1","glsl-parser":"~0.0.6","wrap-stream":"0.0.0","glsl-resolve":"0.0.1","cssauron-glsl":"~0.0.0","emit-function":"0.0.2","glsl-tokenizer":"~0.0.8","stream-combiner":"0.0.2"},"devDependencies":{"glsl-deparser":"0.0.2"}},"0.4.1":{"name":"glslify-stream","version":"0.4.1","keywords":["glslify","glsl","module","system","stream"],"author":{"name":"Chris Dickinson","email":"chris@neversaw.us"},"license":"MIT","_id":"glslify-stream@0.4.1","maintainers":[{"name":"chrisdickinson","email":"chris@neversaw.us"},{"name":"hughsk","email":"hughskennedy@gmail.com"}],"homepage":"https://github.com/chrisdickinson/glslify-stream","bugs":{"url":"https://github.com/chrisdickinson/glslify-stream/issues"},"dist":{"shasum":"c6e623ac67fca10c266476feddb9422273c57860","tarball":"https://registry.npmjs.org/glslify-stream/-/glslify-stream-0.4.1.tgz","integrity":"sha512-nqAd3GtPTwEWTdqVXkXyuW+Jszx48gmE6DusYPyXvLvxKnUgnsKFZFBi+yKR9WOo2aSPUiApx9ZyMlJRhf/drw==","signatures":[{"sig":"MEYCIQDUpETFyTmDdbTQiS5i8QAdn8awJStiULb0p/EtyJDQCQIhAMJjxb2TKFOsqfeSvtiee7PL/54wQEuA1qop9221P8w+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"c6e623ac67fca10c266476feddb9422273c57860","scripts":{"test":"node test/index.js"},"_npmUser":{"name":"chrisdickinson","email":"chris@neversaw.us"},"repository":{"url":"git://github.com/chrisdickinson/glslify-stream.git","type":"git"},"_npmVersion":"1.4.9","description":"create a readable stream of glsl ast nodes that produce a module system","directories":{},"dependencies":{"resolve":"~0.5.1","through":"~1.1.2","cssauron":"~0.0.2","shortest":"~0.0.0","commondir":"0.0.1","glsl-parser":"^1.0.0","wrap-stream":"0.0.0","glsl-resolve":"0.0.1","cssauron-glsl":"~0.0.0","emit-function":"0.0.2","glsl-tokenizer":"~0.0.8","stream-combiner":"0.0.2"},"devDependencies":{"glsl-deparser":"0.0.2"}},"1.0.0":{"name":"glslify-stream","version":"1.0.0","keywords":["glslify","glsl","module","system","stream"],"license":"MIT","_id":"glslify-stream@1.0.0","maintainers":[{"name":"chrisdickinson","email":"chris@neversaw.us"},{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}],"homepage":"https://github.com/chrisdickinson/glslify-stream","bugs":{"url":"https://github.com/chrisdickinson/glslify-stream/issues"},"dist":{"shasum":"58195df8921d38381b42c8c322e6415f3f889b97","tarball":"https://registry.npmjs.org/glslify-stream/-/glslify-stream-1.0.0.tgz","integrity":"sha512-acO4iGi7fIbZdd5oWJzayP+kWZq/PsTGv4aIFOrfPXW2sxkw7ePM2cWualafAxU+i83Fv0tfQtSrlEddvxPsJQ==","signatures":[{"sig":"MEUCIBPHZg1NDnJb+7veDnCvgH+q1vSYyKEsnGg4DylV0uAaAiEAjKPJiXdqqBXPUlAwUjxDkkkCCTE02WS3c9FdECXKWDQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"58195df8921d38381b42c8c322e6415f3f889b97","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)"],"gitHead":"2bd4b9869eca02f7a23b8a821192d3306ff1582b","scripts":{"test":"node test/index.js"},"_npmUser":{"name":"chrisdickinson","email":"chris@neversaw.us"},"repository":{"url":"git://github.com/chrisdickinson/glslify-stream.git","type":"git"},"_npmVersion":"1.4.14","description":"create a readable stream of glsl ast nodes that produce a module system","directories":{},"dependencies":{"resolve":"~0.5.1","through":"^2.3.4","cssauron":"~0.0.2","shortest":"~0.0.0","commondir":"0.0.1","glsl-parser":"^1.0.0","wrap-stream":"0.0.0","glsl-resolve":"0.0.1","cssauron-glsl":"~0.0.0","emit-function":"0.0.2","glsl-tokenizer":"^1.0.0","stream-combiner":"0.0.2"},"devDependencies":{"glsl-deparser":"0.0.2"}},"1.0.1":{"name":"glslify-stream","version":"1.0.1","keywords":["glslify","glsl","module","system","stream"],"license":"MIT","_id":"glslify-stream@1.0.1","maintainers":[{"name":"chrisdickinson","email":"chris@neversaw.us"},{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}],"homepage":"https://github.com/gl-modules/glslify-stream","bugs":{"url":"https://github.com/gl-modules/glslify-stream/issues"},"dist":{"shasum":"4c0f2fbb3962a54d5c2fc8d3b427b81249d9d07e","tarball":"https://registry.npmjs.org/glslify-stream/-/glslify-stream-1.0.1.tgz","integrity":"sha512-Q+0+75cgs5239cO1QcKhIZipBCelenEfha3BE8jr/kYuAVtqYmy9hrxiu6oDIGkw7qmgwwFy7MAaIc+oBXgSfw==","signatures":[{"sig":"MEUCIQDCynMbo9pdgc0s0QWK/Jk8uj3SEjlVR3ZeaRcG8lN7iwIgbMFclSdz6apNt9kKjmbMXSRnk1dDOtxa5rxsg1BcG8I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"4c0f2fbb3962a54d5c2fc8d3b427b81249d9d07e","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)"],"gitHead":"427274e8679c81d676677ea3fa3baaa2f5485ea6","scripts":{"test":"node test/index.js"},"_npmUser":{"name":"chrisdickinson","email":"chris@neversaw.us"},"repository":{"url":"git://github.com/gl-modules/glslify-stream.git","type":"git"},"_npmVersion":"1.4.14","description":"create a readable stream of glsl ast nodes that produce a module system","directories":{},"dependencies":{"resolve":"~0.5.1","through":"^2.3.4","cssauron":"~0.0.2","shortest":"~0.0.0","commondir":"0.0.1","glsl-parser":"^1.0.0","wrap-stream":"0.0.0","glsl-resolve":"0.0.1","cssauron-glsl":"~0.0.0","emit-function":"0.0.2","glsl-tokenizer":"^1.0.0","stream-combiner":"0.0.2"},"devDependencies":{"glsl-deparser":"0.0.2"}},"1.1.0":{"name":"glslify-stream","version":"1.1.0","keywords":["glslify","glsl","module","system","stream"],"license":"MIT","_id":"glslify-stream@1.1.0","maintainers":[{"name":"chrisdickinson","email":"chris@neversaw.us"},{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}],"homepage":"https://github.com/gl-modules/glslify-stream","bugs":{"url":"https://github.com/gl-modules/glslify-stream/issues"},"dist":{"shasum":"a72ee4f21fef5d52c3571ce4ecfe31fdf2a2383a","tarball":"https://registry.npmjs.org/glslify-stream/-/glslify-stream-1.1.0.tgz","integrity":"sha512-T96PEz1x1jSSMqnPCuXYumcZwoR6y76yGgp4CQuZi/7zWYBSUdagvz3FLNaZjaNav6DA+n2lE14ve0jWbaiwaQ==","signatures":[{"sig":"MEQCICTaFEpbPWII0+KCxcsI2yw9Dj36ijvQSFNUTv3hnsebAiBSBnLF+/yC4ReIb2y8kndH+uCJ/vqIHNElFPOEetunPw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"a72ee4f21fef5d52c3571ce4ecfe31fdf2a2383a","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)"],"gitHead":"5bb5771c64d40d626e0b4c983841b1c0f809f344","scripts":{"test":"node test/index.js"},"_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"repository":{"url":"git://github.com/gl-modules/glslify-stream.git","type":"git"},"_npmVersion":"1.5.0-alpha-4","description":"create a readable stream of glsl ast nodes that produce a module system","directories":{},"dependencies":{"resolve":"~0.5.1","through":"^2.3.4","cssauron":"~0.0.2","shortest":"~0.0.0","commondir":"0.0.1","glsl-parser":"^1.0.0","wrap-stream":"0.0.0","glsl-resolve":"0.0.1","cssauron-glsl":"~0.0.0","emit-function":"0.0.2","glsl-tokenizer":"^1.0.0","stream-combiner":"0.0.2"},"devDependencies":{"glsl-deparser":"0.0.2"}},"1.1.1":{"name":"glslify-stream","version":"1.1.1","keywords":["glslify","glsl","module","system","stream"],"license":"MIT","_id":"glslify-stream@1.1.1","maintainers":[{"name":"chrisdickinson","email":"chris@neversaw.us"},{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}],"homepage":"https://github.com/gl-modules/glslify-stream","bugs":{"url":"https://github.com/gl-modules/glslify-stream/issues"},"dist":{"shasum":"3056a06e5ebc2d4dfd3bfb2e8d6d23d6a493357c","tarball":"https://registry.npmjs.org/glslify-stream/-/glslify-stream-1.1.1.tgz","integrity":"sha512-D5LqyWC28D83q3uYUlAn2hoX0K5jcJeHL9nlvbAWsHBwUZaH+Y4q07l8ydhYNS5YCAazm09R91vYI+CXzT412Q==","signatures":[{"sig":"MEYCIQCOohdr+vumSz0QrqEEKqF85ruD9I5oWCS5KOX9L5o5PgIhAJgxwAdIWqu7T/jFyVtdffVKa+pPpVEIBXnOSkasALZC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"3056a06e5ebc2d4dfd3bfb2e8d6d23d6a493357c","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)"],"gitHead":"607d0256aabacfa0682217acb32c27efc55047cb","scripts":{"test":"node test/index.js"},"_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"repository":{"url":"git://github.com/gl-modules/glslify-stream.git","type":"git"},"_npmVersion":"1.5.0-alpha-4","description":"create a readable stream of glsl ast nodes that produce a module system","directories":{},"dependencies":{"resolve":"~0.5.1","through":"^2.3.4","cssauron":"~0.0.2","shortest":"~0.0.0","commondir":"0.0.1","glsl-parser":"^1.0.0","wrap-stream":"0.0.0","glsl-resolve":"0.0.1","cssauron-glsl":"~0.0.0","emit-function":"0.0.2","glsl-tokenizer":"^1.0.0","stream-combiner":"0.0.2"},"devDependencies":{"glsl-deparser":"0.0.2"}}},"time":{"created":"2012-12-03T08:28:07.140Z","modified":"2024-12-29T00:47:12.910Z","0.0.0":"2012-12-03T08:28:08.006Z","0.0.1":"2012-12-04T08:48:33.194Z","0.1.0":"2013-12-23T02:12:10.734Z","0.2.0":"2014-04-04T21:16:38.392Z","0.2.1":"2014-04-05T12:28:06.506Z","0.3.0":"2014-06-06T20:47:13.602Z","0.4.0":"2014-06-20T10:40:11.092Z","0.4.1":"2014-06-27T23:39:35.284Z","1.0.0":"2014-07-05T21:51:19.430Z","1.0.1":"2014-07-05T21:52:52.798Z","1.1.0":"2014-07-27T00:33:05.250Z","1.1.1":"2014-07-27T12:23:53.704Z"},"bugs":{"url":"https://github.com/gl-modules/glslify-stream/issues"},"license":"MIT","homepage":"https://github.com/gl-modules/glslify-stream","keywords":["glslify","glsl","module","system","stream"],"repository":{"url":"git://github.com/gl-modules/glslify-stream.git","type":"git"},"description":"create a readable stream of glsl ast nodes that produce a module system","maintainers":[{"email":"mikolalysenko@gmail.com","name":"mikolalysenko"},{"email":"wwwtyro@gmail.com","name":"wwwtyro"},{"email":"thibaut.seguy@gmail.com","name":"thibauts"},{"email":"me@mikkoh.com","name":"mikkoh"},{"email":"javascript@yosh.is","name":"yoshuawuyts"},{"email":"dave.des@gmail.com","name":"mattdesl"},{"email":"hughskennedy@gmail.com","name":"hughsk"},{"email":"chris@neversaw.us","name":"chrisdickinson"},{"email":"tatum.creative@gmail.com","name":"tatumcreative"}],"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","readmeFilename":"README.md"}