{"_id":"mapbox-gl-js-supported","_rev":"402669","name":"mapbox-gl-js-supported","description":"A library to determine if a browser supports Mapbox GL JS","dist-tags":{"latest":"1.1.0"},"maintainers":[{"name":"lucaswoj","email":"lucas@lucaswoj.com"}],"time":{"modified":"2021-08-04T04:36:47.000Z","created":"2016-04-15T20:50:27.437Z","1.1.0":"2016-04-18T18:52:29.726Z","1.0.0":"2016-04-15T20:50:27.437Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/mapbox/mapbox-gl-js-supported.git"},"versions":{"1.1.0":{"name":"mapbox-gl-js-supported","version":"1.1.0","description":"A library to determine if a browser supports Mapbox GL JS","main":"index.js","scripts":{"test":"eslint index.js"},"repository":{"type":"git","url":"git+https://github.com/mapbox/mapbox-gl-js-supported.git"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/mapbox/mapbox-gl-js-supported/issues"},"homepage":"https://github.com/mapbox/mapbox-gl-js-supported#readme","devDependencies":{"eslint":"^2.8.0","eslint-config-mourner":"^2.0.1"},"gitHead":"1c77d2f2ab9dfb92f8286150ee1c5fc478bade8d","_id":"mapbox-gl-js-supported@1.1.0","_shasum":"b68eb7b3110760e3e922840a75e278b7375c298d","_from":".","_npmVersion":"2.15.3","_nodeVersion":"0.10.38","_npmUser":{"name":"lucaswoj","email":"lucas@mapbox.com"},"maintainers":[{"name":"lucaswoj","email":"lucas@lucaswoj.com"}],"dist":{"shasum":"b68eb7b3110760e3e922840a75e278b7375c298d","size":2221,"noattachment":false,"key":"/mapbox-gl-js-supported/-/mapbox-gl-js-supported-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mapbox-gl-js-supported/download/mapbox-gl-js-supported-1.1.0.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/mapbox-gl-js-supported-1.1.0.tgz_1461005547470_0.6448164542671293"},"directories":{},"publish_time":1461005549726,"_cnpm_publish_time":1461005549726,"deprecated":"This project has been renamed to mapbox-gl-supported. Install using mapbox-gl-supported instead.","_hasShrinkwrap":false},"1.0.0":{"name":"mapbox-gl-js-supported","version":"1.0.0","description":"A library to determine if a browser supports Mapbox GL JS","main":"index.js","scripts":{"test":"eslint index.js"},"repository":{"type":"git","url":"git+https://github.com/mapbox/mapbox-gl-js-supported.git"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/mapbox/mapbox-gl-js-supported/issues"},"homepage":"https://github.com/mapbox/mapbox-gl-js-supported#readme","devDependencies":{"eslint":"^2.8.0","eslint-config-mourner":"^2.0.1"},"gitHead":"a32c1b7a5584090123c3dbc87976cd99ec21801f","_id":"mapbox-gl-js-supported@1.0.0","_shasum":"7897e24e9ecf1440c0f795ce9ddb271a14f611ec","_from":".","_npmVersion":"2.15.3","_nodeVersion":"0.10.38","_npmUser":{"name":"lucaswoj","email":"lucas@mapbox.com"},"maintainers":[{"name":"lucaswoj","email":"lucas@lucaswoj.com"}],"dist":{"shasum":"7897e24e9ecf1440c0f795ce9ddb271a14f611ec","size":2199,"noattachment":false,"key":"/mapbox-gl-js-supported/-/mapbox-gl-js-supported-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mapbox-gl-js-supported/download/mapbox-gl-js-supported-1.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/mapbox-gl-js-supported-1.0.0.tgz_1460753423669_0.7138560665771365"},"directories":{},"publish_time":1460753427437,"_cnpm_publish_time":1460753427437,"deprecated":"This project has been renamed to mapbox-gl-supported. Install using mapbox-gl-supported instead.","_hasShrinkwrap":false}},"readme":"# Mapbox GL JS Supported\n\nThis library determines if a browser supports [Mapbox GL JS](http://github.com/mapbox/mapbox-gl-js).\n\n## Testing Your Browser\n\nYou may test your browser [here](http://mapbox.github.io/mapbox-gl-js-supported).\n\n## Using Mapbox GL JS Supported with a `<script>` tag\n\n```html\n<script src='mapbox-gl-js-supported.js'></script>\n<script>\nif (mapboxgl.supported()) {\n    ...\n} else {\n    ...\n}\n</script>\n```\n\n## Using Mapbox GL JS Supported with [Browserify](http://browserify.org/)\n\n```bash\nnpm install --save mapbox-gl-js-supported\n```\n\n```js\nvar isSupported = require('mapbox-gl-js-supported')();\n```\n","_attachments":{},"homepage":"https://github.com/mapbox/mapbox-gl-js-supported#readme","bugs":{"url":"https://github.com/mapbox/mapbox-gl-js-supported/issues"},"license":"BSD-3-Clause"}