{"name":"glslify-bundle","version":"1.0.0","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","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":"80af23f807ec3a1a01d9fe33aab62d9e6a3c3483","_id":"glslify-bundle@1.0.0","_shasum":"16aa465355af8039adf4b912c5989e1385ea096d","_from":".","_npmVersion":"1.4.13","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}],"dist":{"shasum":"16aa465355af8039adf4b912c5989e1385ea096d","tarball":"http://registry-npm.ywwl.com/glslify-bundle/download/glslify-bundle-1.0.0.tgz","integrity":"sha512-5DGikuVAmJfqH3daG4Q3B/vi5eFQJCWV5/mGyYzM7tsPfi8wSyKW+fsbA/SOZdnpeOimlovJZc7ilPfIZZyO/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPRLE6KdRFSPjRBAnycWrrjJ8CIAQGhnvfK2wveAnmcQIgZAuc3+0Sx6OXaa7EvSPYjgXezKLotrKxqcuV89xkMgM="}],"size":2740,"noattachment":false,"key":"/glslify-bundle/-/glslify-bundle-1.0.0.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":1403916407817,"_cnpm_publish_time":1403916407817,"dist-tags":{"latest":"5.1.1"}}