{"name":"glify","description":"a webgl compiler browserify transform","version":"0.5.0","author":{"name":"Tom MacWright"},"dependencies":{"caller-path":"^0.1.0","concat-stream":"~1.4.4","falafel":"~0.3.1","through":"~2.3.4"},"devDependencies":{"browserify":"~3.38.0","concat-stream":"~1.4.4","tap":"~0.4.8"},"keywords":["browserify","glsl","transform","webgl"],"license":"ISC","main":"index.js","repository":{"type":"git","url":"git@github.com:mapbox/glify.git"},"scripts":{"test":"tap test/*.js"},"gitHead":"009df82b57891b3bbd456de476b59cfaf0f853c3","bugs":{"url":"https://github.com/mapbox/glify/issues"},"homepage":"https://github.com/mapbox/glify","_id":"glify@0.5.0","_shasum":"f58c84a7f02bfb27a28902c13c793fe976890b0e","_from":".","_npmVersion":"2.1.3","_nodeVersion":"0.10.32","_npmUser":{"name":"jfirebaugh","email":"john.firebaugh@gmail.com"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"},{"name":"ansis","email":"ansis.brammanis@gmail.com"},{"name":"kkaefer","email":"kkaefer@gmail.com"},{"name":"mourner","email":"agafonkin@gmail.com"},{"name":"jfirebaugh","email":"john.firebaugh@gmail.com"},{"name":"mapbox","email":"accounts@mapbox.com"}],"dist":{"shasum":"f58c84a7f02bfb27a28902c13c793fe976890b0e","tarball":"http://registry-npm.ywwl.com/glify/download/glify-0.5.0.tgz","integrity":"sha512-oXkbjZJexAuIleH9eKe+gLEw4BYltwY11yhiH5bdRc6m6tqkwO4aHQt2LGL5kNpDEHQWJntXZEnH/9w4VaAncw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDcfM7UhHnkeDHMT/KTGM3uu01ev9dgyfY5thcbLhdcBgIhAJlNu/TYlH0oqumZsowFOstgeaBqdwv6o9hL5cNckPPw"}],"size":32559,"noattachment":false,"key":"/glify/-/glify-0.5.0.tgz"},"deprecated":"glify is no longer used or maintained.","readme":"[![Build Status](https://travis-ci.org/mapbox/glify.svg)](https://travis-ci.org/mapbox/glify)\n\n# glify\n\nCompiles and links GLSL shaders with [glsl-unit](https://code.google.com/p/glsl-unit/).\n\nIt can be used either as a browserify transform or as a regular node module.\n\n## Install\n\n    npm install --save-dev glify\n\n## Example\n\n```js\nvar glify = require('glify');\nvar shader = glify('./fill.*.glsl');\n```\n\nIn node, `shader` will be an object with `vertex` and `fragment` properties containing\noptimized GLSL source from `fill.vertex.glsl` and `fill.fragment.glsl` files.\n\nWith browserify, you can run `browserify -t glify foo.js > bar.js` and `bar.js` will\ncontain:\n\n```js\nvar shader = {\"vertex\":\"precision mediump float;attribute vec2 a_pos;uniform mat4 u_posmatrix;void main(){gl_Position=u_posmatrix*vec4(a_pos,0,1);gl_PointSize=2.;}\",\"fragment\":\"precision mediump float;uniform vec4 u_color;void main(){gl_FragColor=u_color;}\"};\n```\n\n## Prepend\n\nYou can prepend `#define`s to the source:\n\n```\nvar lineShader = glify('./line.*.glsl', '#define FOO bar');\n```\n","publish_time":1426813024182,"_cnpm_publish_time":1426813024182,"dist-tags":{"latest":"0.5.1"}}