{"_id":"mapbox-gl-supported","_rev":"402677","name":"mapbox-gl-supported","description":"A library to determine if a browser supports Mapbox GL JS","dist-tags":{"latest":"1.2.0"},"maintainers":[{"name":"lucaswoj","email":"lucas@lucaswoj.com"}],"time":{"modified":"2021-08-04T04:36:50.000Z","created":"2016-06-08T15:54:48.063Z","1.2.0":"2016-07-13T18:51:44.326Z","1.1.0":"2016-06-08T15:54:48.063Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/mapbox/mapbox-gl-supported.git"},"versions":{"1.2.0":{"name":"mapbox-gl-supported","version":"1.2.0","description":"A library to determine if a browser supports Mapbox GL JS","main":"index.js","scripts":{"test":"eslint index.js","build":"mkdir -p dist && uglifyjs index.js -c -m -o dist/mapbox-gl-supported.js"},"repository":{"type":"git","url":"git+https://github.com/mapbox/mapbox-gl-supported.git"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/mapbox/mapbox-gl-supported/issues"},"homepage":"https://github.com/mapbox/mapbox-gl-supported#readme","devDependencies":{"browserify":"^11.2.0","eslint":"^2.8.0","eslint-config-mourner":"^2.0.1","uglify-js":"^2.4.24"},"gitHead":"f92902b00becb289e2bd30550a14827dc4bedf57","_id":"mapbox-gl-supported@1.2.0","_shasum":"cbd34df894206cadda9a33c8d9a4609f26bb1989","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"lucaswoj","email":"lucas@mapbox.com"},"maintainers":[{"name":"lucaswoj","email":"lucas@lucaswoj.com"}],"dist":{"shasum":"cbd34df894206cadda9a33c8d9a4609f26bb1989","size":2366,"noattachment":false,"key":"/mapbox-gl-supported/-/mapbox-gl-supported-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mapbox-gl-supported/download/mapbox-gl-supported-1.2.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/mapbox-gl-supported-1.2.0.tgz_1468435903841_0.3239402864128351"},"directories":{},"publish_time":1468435904326,"_cnpm_publish_time":1468435904326,"_hasShrinkwrap":false,"deprecated":"This package has been moved to @mapbox/mapbox-gl-supported"},"1.1.0":{"name":"mapbox-gl-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","build":"mkdir -p dist && NODE_ENV=production && browserify index.js | uglifyjs -c -m > dist/mapbox-gl-supported.js"},"repository":{"type":"git","url":"git+https://github.com/mapbox/mapbox-gl-supported.git"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/mapbox/mapbox-gl-supported/issues"},"homepage":"https://github.com/mapbox/mapbox-gl-supported#readme","devDependencies":{"browserify":"^11.2.0","eslint":"^2.8.0","eslint-config-mourner":"^2.0.1","uglify-js":"^2.4.24"},"gitHead":"628d584328bbddeb41e8338fa16763dfa4122907","_id":"mapbox-gl-supported@1.1.0","_shasum":"4e5858af2a7ad0805aeb7c9e4a9b74bd1c833e7c","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"lucaswoj","email":"lucas@mapbox.com"},"maintainers":[{"name":"lucaswoj","email":"lucas@lucaswoj.com"}],"dist":{"shasum":"4e5858af2a7ad0805aeb7c9e4a9b74bd1c833e7c","size":2304,"noattachment":false,"key":"/mapbox-gl-supported/-/mapbox-gl-supported-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mapbox-gl-supported/download/mapbox-gl-supported-1.1.0.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/mapbox-gl-supported-1.1.0.tgz_1465401286038_0.974615856539458"},"directories":{},"publish_time":1465401288063,"_cnpm_publish_time":1465401288063,"_hasShrinkwrap":false,"deprecated":"This package has been moved to @mapbox/mapbox-gl-supported"}},"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-supported).\n\n## Using Mapbox GL JS Supported with a `<script>` tag\n\n```html\n<script src='mapbox-gl-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-supported\n```\n\n```js\nvar isSupported = require('mapbox-gl-supported')();\n```\n","_attachments":{},"homepage":"https://github.com/mapbox/mapbox-gl-supported#readme","bugs":{"url":"https://github.com/mapbox/mapbox-gl-supported/issues"},"license":"BSD-3-Clause"}