{"name":"webglew","version":"1.0.0","description":"WebGL extension wrangler","main":"webglew.js","scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"git://github.com/mikolalysenko/webglew.git"},"keywords":["webgl","gl","extension","glew","wrangler","float_texture","OES_texture_float","khronos"],"author":{"name":"Mikola Lysenko"},"license":"BSD","gitHead":"c561ef237cb3b66576b0e9e599f729628a209649","dependencies":{"weakmap":"0.0.6"},"bugs":{"url":"https://github.com/mikolalysenko/webglew/issues"},"homepage":"https://github.com/mikolalysenko/webglew","_id":"webglew@1.0.0","dist":{"shasum":"2600bc130a61a05489f020c3558d24146e9f578b","tarball":"http://registry-npm.ywwl.com/webglew/download/webglew-1.0.0.tgz","integrity":"sha512-yfE9jgC74lIfx6NP+mCdkvVKWSqLv892QgwW56nhwWxQdlhUXpDqgKO5zFgPhioNi3QULebCNEb1WfAFSbRsrQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5T5le26y5bXVVEQcr8Y4t3PajiCcCqMySBnRMFy4qNAIhAK5bfwhnrGIfzTEPXWR6BPPQDcXlZ8t/1ctB4PkZ1bal"}],"size":1327,"noattachment":false,"key":"/webglew/-/webglew-1.0.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},"maintainers":[{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}],"directories":{},"readme":"webglew\n=======\n**WebGL** **E** xtension **W** rangler.  Manages WebGL extensions so you don't have to.\n\n# Example\n\n```javascript\nvar canvas = document.createElement(\"canvas\")\nvar gl = canvas.getContext(\"webgl\")\nvar ext = require(\"webglew\")(gl)\n\nif(ext.OES_texture_float) {\n  console.log(\"GL context supports floats!\")\n} else {\n  console.log(\"No floating point textures :'(\")\n}\n```\n\n# Install\n\n```\nnpm install webglew\n```\n\n# API\n\n#### `require(\"webglew\")(gl)`\nTo use the library, call the module with a WebGL context and it will return a JavaScript object with a list of properties.  For convenience, extensions with a vendor specific prefix are aliased to the root WEBGL_* name.  For example,\n\n    WEBKIT_WEBGL_lose_context\n    \nBecomes:\n\n    WEBGL_lose_context\n\n# Credits\n(c) 2013-2014 Mikola Lysenko. MIT","publish_time":1395939838719,"_cnpm_publish_time":1395939838719,"dist-tags":{"latest":"1.0.5"}}