{"_id":"glsl-resolve","_rev":"398851","name":"glsl-resolve","description":"A wrapper for the \"resolve\" module that targets GLSL shaders instead of JavaScript","dist-tags":{"latest":"0.0.1"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}],"time":{"modified":"2021-08-04T04:23:44.000Z","created":"2014-03-12T15:49:43.918Z","0.0.1":"2014-03-12T15:49:43.918Z"},"users":{},"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughsk.io/"},"repository":{"type":"git","url":"git://github.com/hughsk/glsl-resolve"},"versions":{"0.0.1":{"name":"glsl-resolve","description":"A wrapper for the \"resolve\" module that targets GLSL shaders instead of JavaScript","version":"0.0.1","main":"index.js","dependencies":{"resolve":"^0.6.1","xtend":"^2.1.2"},"devDependencies":{"tape":"^2.10.2","faucet":"^0.0.1"},"scripts":{"test":"node test | faucet"},"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughsk.io/"},"license":"MIT","homepage":"http://hughsk.github.io/glsl-resolve","repository":{"type":"git","url":"git://github.com/hughsk/glsl-resolve"},"bugs":{"url":"https://github.com/hughsk/glsl-resolve/issues"},"keywords":["glsl","resolve","shader","modules"],"_id":"glsl-resolve@0.0.1","dist":{"shasum":"894bef73910d792c81b5143180035d0a78af76d3","size":2222,"noattachment":false,"key":"/glsl-resolve/-/glsl-resolve-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/glsl-resolve/download/glsl-resolve-0.0.1.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}],"directories":{},"publish_time":1394639383918,"_cnpm_publish_time":1394639383918,"_hasShrinkwrap":false}},"readme":"# glsl-resolve [![Flattr this!](https://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=hughskennedy&url=http://github.com/hughsk/glsl-resolve&title=glsl-resolve&description=hughsk/glsl-resolve%20on%20GitHub&language=en_GB&tags=flattr,github,javascript&category=software)[![experimental](http://hughsk.github.io/stability-badges/dist/experimental.svg)](http://github.com/hughsk/stability-badges) #\n\nA wrapper for the [resolve](https://github.com/substack/node-resolve) module\nthat targets GLSL shaders instead of JavaScript.\n\n## Usage ##\n\n[![glsl-resolve](https://nodei.co/npm/glsl-resolve.png?mini=true)](https://nodei.co/npm/glsl-resolve)\n\nThe API is equivalent to *resolve* for both `resolve.async` and `resolve.sync`,\nwith the following exceptions:\n\n* Node's core modules are excluded.\n\n* The \"main\" file for a module is looked for first in a package.json's `glslify`\n  property, then if `main` isn't a JavaScript file it'll look there too.\n  Otherwise, it will default to trying `index.glsl`.\n\n* Listed in order of priority, the following extensions are resolved instead of\n  `.js` and `.json`:\n\n  * `.glsl`\n  * `.vert`\n  * `.frag`\n  * `.geom`\n  * `.vs`\n  * `.fs`\n  * `.gs`\n  * `.vsh`\n  * `.fsh`\n  * `.gsh`\n  * `.vshader`\n  * `.fshader`\n  * `.gshader`\n\n## License ##\n\nMIT. See [LICENSE.md](http://github.com/hughsk/glsl-resolve/blob/master/LICENSE.md) for details.\n","_attachments":{},"homepage":"http://hughsk.github.io/glsl-resolve","bugs":{"url":"https://github.com/hughsk/glsl-resolve/issues"},"license":"MIT"}