{"name":"glslify-bundle","version":"1.0.2","description":"A wrapper module for bundling glslify scripts using common functionality within the glslify module ecosystem","main":"index.js","license":"MIT","scripts":{"test":"node test"},"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughsk.io/"},"dependencies":{"concat-stream":"^1.4.6","glsl-deparser":"0.0.3","glslify-stream":"^0.4.1","multipipe":"^0.1.1","new-from":"0.0.3","once":"^1.3.0","resolve":"^0.7.1"},"devDependencies":{"glslify-hex":"0.0.0","tape":"^2.13.3"},"repository":{"type":"git","url":"git://github.com/hughsk/glslify-bundle.git"},"keywords":["glslify","glsl","webgl","shader","bundle","dependency","tool"],"homepage":"https://github.com/hughsk/glslify-bundle","bugs":{"url":"https://github.com/hughsk/glslify-bundle/issues"},"gitHead":"759db6cdfdf0233bb4a37e0edd51158c003c34c2","_id":"glslify-bundle@1.0.2","_shasum":"79f48736ae127b6f8ec90e355a31a441d0f9a3cf","_from":".","_npmVersion":"1.4.13","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}],"dist":{"shasum":"79f48736ae127b6f8ec90e355a31a441d0f9a3cf","tarball":"http://registry-npm.ywwl.com/glslify-bundle/download/glslify-bundle-1.0.2.tgz","integrity":"sha512-MLd3+zA88mPM0VZemuk31DUQu7rXagqKX1YJibvTlz0XafFqfW/E9J/jM6SGhowkr6bXPqWyMjpT2+ZYSncRgg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBxbATDC8A8nBR1PKlCHRGCZiBhH0k2jDakY5IGcovFvAiBudnY83C/DZNE8CDu2qld2Cao8aXqnMNoWM5+SKGV0+w=="}],"size":2781,"noattachment":false,"key":"/glslify-bundle/-/glslify-bundle-1.0.2.tgz"},"deprecated":"replaced with a different purpose/api","directories":{},"readme":"# glslify-bundle\r\n\r\n[![experimental](http://badges.github.io/stability-badges/dist/experimental.svg)](http://github.com/badges/stability-badges)\r\n\r\nBundle a [glslify-deps](http://github.com/stackgl/glslify-deps) dependency tree into\r\na GLSL source string.\r\n\r\nThis has been separated from *glslify-deps* such that you can prebundle a dependency\r\ntree server-side, but then still modify shader file contents in a browser.\r\n\r\n## Usage\r\n\r\n[![NPM](https://nodei.co/npm/glslify-bundle.png)](https://nodei.co/npm/glslify-bundle/)\r\n\r\n### `source = bundle(deps)`\r\n\r\nTakes the output object from [glslify-deps](http://github.com/stackgl/glslify-deps)\r\nand returns a bundled GLSL string.\r\n\r\n``` javascript\r\nvar bundle = require('glslify-bundle')\r\nvar deps   = require('glslify-deps')\r\nvar path   = require('path')\r\n\r\nvar file = path.join(__dirname, 'index.glsl')\r\n\r\ndeps().add(file, function(err, tree) {\r\n  if (err) throw err\r\n\r\n  var glsl = bundle(tree)\r\n\r\n  console.log(glsl)\r\n})\r\n```\r\n\r\n## Contributing\r\n\r\nSee [stackgl/contributing](https://github.com/stackgl/contributing) for details.\r\n\r\n## License\r\n\r\nMIT. See [LICENSE.md](http://github.com/stackgl/glslify-bundle/blob/master/LICENSE.md) for details.\r\n","publish_time":1404008044558,"_cnpm_publish_time":1404008044558,"dist-tags":{"latest":"5.1.1"}}