{"_id":"is-webgl-context","_rev":"5-7c1d88f083e5e212f52bed3e4376e5f3","name":"is-webgl-context","description":"whether the given object is a WebGL context","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"is-webgl-context","version":"1.0.0","description":"whether the given object is a WebGL context","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"dependencies":{},"devDependencies":{"tape":"^3.0.0","webgl-context":"^1.2.1"},"scripts":{"test":"node test.js"},"keywords":["is","webgl","gl","glsl","shader","context","ctx","experimental-webgl"],"repository":{"type":"git","url":"git://github.com/mattdesl/is-webgl-context.git"},"homepage":"https://github.com/mattdesl/is-webgl-context","bugs":{"url":"https://github.com/mattdesl/is-webgl-context/issues"},"gitHead":"d6ffec1607f5aa143e23ecdf31e528434bd728b4","_id":"is-webgl-context@1.0.0","_shasum":"abc109fa7098ef89f4ee44cee0ea71510438a1bd","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"dist":{"shasum":"abc109fa7098ef89f4ee44cee0ea71510438a1bd","tarball":"https://registry.npmjs.org/is-webgl-context/-/is-webgl-context-1.0.0.tgz","integrity":"sha512-jLj4ECNhq89V64lAMVNS2WInEdqxqZ4WU9dZmLHmaJxXQuvMjeW8bI0OfEQceTJBvPvGvEiiq/aTtg3gQG4k2g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBMUP2ZwnTcdlB7IXw2Tn9B8OGml9cD088pQavrh1a2WAiEA6VaPcDx8zlJBmOaJnrvBgPAA4eOUzYSehs+U16lSYhI="}]}},"1.1.0":{"name":"is-webgl-context","version":"1.1.0","description":"whether the given object is a WebGL context","main":"index.js","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"dependencies":{},"devDependencies":{"browserify":"^8.1.0","faucet":"0.0.1","smokestack":"^3.1.0","tap-closer":"^1.0.0","tape":"^3.0.0","webgl-context":"^1.2.1"},"scripts":{"test":"browserify test.js | tap-closer | smokestack | tap-spec "},"keywords":["is","webgl","gl","glsl","shader","context","ctx","experimental-webgl"],"repository":{"type":"git","url":"git://github.com/mattdesl/is-webgl-context.git"},"homepage":"https://github.com/mattdesl/is-webgl-context","bugs":{"url":"https://github.com/mattdesl/is-webgl-context/issues"},"gitHead":"0464ef281d30163fe0f9c6599f5ae95d3a84641e","_id":"is-webgl-context@1.1.0","_shasum":"0eecd0ef6b63c66cf47cabbce2e2ca3bc147ef53","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.32","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"dist":{"shasum":"0eecd0ef6b63c66cf47cabbce2e2ca3bc147ef53","tarball":"https://registry.npmjs.org/is-webgl-context/-/is-webgl-context-1.1.0.tgz","integrity":"sha512-r/uw5bHuC9PDkQAob6tt/Fj/I66/b3dqunuFttT0UpWclKU3f9+DgPViHAgK/r394q9ZhmMfea0FaYj8bloFxQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvxZ0EvgLGWPd4uGaqxV5LjaWPlfifbZQlF1uenVdcEQIgMou10g5eO1uia3rGk0z8o3EdAJg7s9OfCVVPBGufrrk="}]},"maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}]}},"readme":"# is-webgl-context\n\n[![stable](http://badges.github.io/stability-badges/dist/stable.svg)](http://github.com/badges/stability-badges)\n\nTest whether the given object is a WebGL or WebGL2 context. This is useful to handle edge-cases, such as when [Chrome WebGL Inspector](https://chrome.google.com/webstore/detail/webgl-inspector/ogkcjmbhnfmlnielkjhedpcjomeaghda?hl=en) wraps WebGLRenderingContext in a different type. \n\nRuns in Node and the browser.\n\n```js\nvar isGL = require('is-webgl-context')\n\nisGL(foo)\n```\n\n## Usage\n\n[![NPM](https://nodei.co/npm/is-webgl-context.png)](https://nodei.co/npm/is-webgl-context/)\n\n#### `isGLContext(obj)`\n\nReturns true if the object is an instance of WebGL[2]RenderingContext, handling edge cases for WebGL debuggers/inspectors. \n\n## License\n\nMIT, see [LICENSE.md](http://github.com/mattdesl/is-webgl-context/blob/master/LICENSE.md) for details.\n","maintainers":[{"name":"mattdesl","email":"dave.des@gmail.com"}],"time":{"modified":"2022-06-19T02:53:32.395Z","created":"2014-10-05T19:42:13.084Z","1.0.0":"2014-10-05T19:42:13.084Z","1.1.0":"2015-06-11T15:15:11.509Z"},"homepage":"https://github.com/mattdesl/is-webgl-context","keywords":["is","webgl","gl","glsl","shader","context","ctx","experimental-webgl"],"repository":{"type":"git","url":"git://github.com/mattdesl/is-webgl-context.git"},"author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com","url":"https://github.com/mattdesl"},"bugs":{"url":"https://github.com/mattdesl/is-webgl-context/issues"},"license":"MIT","readmeFilename":"README.md"}