{
  "manifest": {
    "name": "caniuse-api",
    "version": "3.0.0",
    "description": "request the caniuse data to check browsers compatibilities",
    "repository": {
      "type": "git",
      "url": "https://github.com/nyalab/caniuse-api.git"
    },
    "keywords": [
      "caniuse",
      "browserslist"
    ],
    "authors": [
      "nyalab",
      "MoOx"
    ],
    "license": "MIT",
    "main": "dist/index.js",
    "files": [
      "dist"
    ],
    "dependencies": {
      "browserslist": "^4.0.0",
      "caniuse-lite": "^1.0.0",
      "lodash.memoize": "^4.1.2",
      "lodash.uniq": "^4.5.0"
    },
    "devDependencies": {
      "babel-cli": "^6.22.2",
      "babel-eslint": "^5.0.0",
      "babel-preset-latest": "^6.22.0",
      "babel-tape-runner": "^2.0.1",
      "jshint": "^2.5.10",
      "npmpub": "^3.1.0",
      "tap-spec": "^4.1.1",
      "tape": "^4.6.0"
    },
    "scripts": {
      "build": "babel src --out-dir dist",
      "lint": "jshint src",
      "prepublish": "npm run build",
      "test": "npm run lint && babel-tape-runner test/*.js | tap-spec",
      "release": "npmpub"
    },
    "babel": {
      "presets": [
        "babel-preset-latest"
      ]
    },
    "_registry": "npm",
    "_loc": "/homez.1033/heliovt/.cache/yarn/v6/npm-caniuse-api-3.0.0-5e4d90e2274961d46291997df599e3ed008ee4c0-integrity/node_modules/caniuse-api/package.json",
    "readmeFilename": "README.md",
    "readme": "# caniuse-api [![Build Status](https://travis-ci.org/Nyalab/caniuse-api.svg?branch=master)](https://travis-ci.org/Nyalab/caniuse-api) [![Build status](https://ci.appveyor.com/api/projects/status/6j3na522bv3bxfa5/branch/master?svg=true)](https://ci.appveyor.com/project/MoOx/caniuse-api/branch/master)\n\nrequest the caniuse data to check browsers compatibilities\n\n## Installation\n\n```console\n$ yarn add caniuse-api\n```\n\n## Usage\n\n```js\nconst caniuse = require('caniuse-api')\n\ncaniuse.getSupport('border-radius')\ncaniuse.isSupported('border-radius', 'ie 8, ie 9')\ncaniuse.setBrowserScope('> 5%, last 1 version')\ncaniuse.getSupport('border-radius')\n// ...\n```\n\n## API\n\n#### `caniuse.getSupport(feature)`\n\n_ask since which browsers versions a feature is available_\n\n* `y`: Since which browser version the feature is available\n* `n`: Up to which browser version the feature is unavailable\n* `a`: Up to which browser version the feature is partially supported\n* `x`: Up to which browser version the feature is prefixed\n\n```js\ncaniuse.getSupport('border-radius', true)\n/*\n{ and_chr: { y: 67 },\n  and_ff: { y: 60 },\n  and_qq: { y: 1.2 },\n  and_uc: { y: 11.8 },\n  android: { y: 2.1, x: 2.1 },\n  baidu: { y: 7.12 },\n  chrome: { y: 4, x: 4 },\n  edge: { y: 12 },\n  firefox: { a: 2, x: 3.6, y: 3 },\n  ie: { n: 8, y: 9 },\n  ie_mob: { y: 10 },\n  ios_saf: { y: 3.2, x: 3.2 },\n  op_mini: {},\n  op_mob: { n: 10, y: 11 },\n  opera: { n: 10, y: 10.5 },\n  safari: { y: 3.1, x: 4 },\n  samsung: { y: 4 } }\n*/\n```\n\n#### `caniuse.isSupported(feature, browsers)`\n\n_ask if a feature is supported by some browsers_\n\n```js\ncaniuse.isSupported('border-radius', 'ie 8, ie 9') // false\ncaniuse.isSupported('border-radius', 'ie 9') // true\n```\n\n#### `caniuse.find(query)`\n\n_search for a caniuse feature name_\n\nEx:\n\n```js\ncaniuse.find('radius') // ['border-radius']\ncaniuse.find('nothingness') // []\ncaniuse.find('css3')\n/*\n[ 'css3-attr',\n  'css3-boxsizing',\n  'css3-colors',\n  'css3-cursors-grab',\n  'css3-cursors-newer',\n  'css3-cursors',\n  'css3-tabsize' ]\n*/\n```\n\n#### `caniuse.getLatestStableBrowsers()`\n\n_get the current version for each browser_\n\n```js\ncaniuse.getLatestStableBrowsers()\n/*\n[ 'and_chr 67',\n  'and_ff 60',\n  'and_qq 1.2',\n  'and_uc 11.8',\n  'android 67',\n  'baidu 7.12',\n  'bb 10',\n  'chrome 67',\n  'edge 17',\n  'firefox 61',\n  'ie 11',\n  'ie_mob 11',\n  'ios_saf 11.3-11.4',\n  'op_mini all',\n  'op_mob 46',\n  'opera 53',\n  'safari 11.1',\n  'samsung 7.2' ]\n*/\n```\n\n#### `caniuse.getBrowserScope()`\n\n_returns a list of browsers currently used for the scope of operations_\n\n```js\ncaniuse.getBrowserScope()\n/*\n[ 'and_chr',\n  'and_ff',\n  'and_qq',\n  'and_uc',\n  'android',\n  'baidu',\n  'chrome',\n  'edge',\n  'firefox',\n  'ie',\n  'ie_mob',\n  'ios_saf',\n  'op_mini',\n  'op_mob',\n  'opera',\n  'safari',\n  'samsung' ]\n*/\n```\n\n#### `caniuse.setBrowserScope(browserscope)`\n\n_if you do not like the default browser scope, you can set it globally by using this method_\n\n* browserscope should be a 'autoprefixer' formatted string\n\n```js\ncaniuse.setBrowserScope('> 5%, last 2 versions, Firefox ESR, Opera 12.1')\n```\n\n\n---\n\n## [Changelog](CHANGELOG.md)\n\n## [License](LICENSE)\n",
    "licenseText": "The MIT License (MIT)\n\nCopyright (c) 2014 Sébastien Balayn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
  },
  "artifacts": [],
  "remote": {
    "resolved": "https://registry.yarnpkg.com/caniuse-api/-/caniuse-api-3.0.0.tgz#5e4d90e2274961d46291997df599e3ed008ee4c0",
    "type": "tarball",
    "reference": "https://registry.yarnpkg.com/caniuse-api/-/caniuse-api-3.0.0.tgz",
    "hash": "5e4d90e2274961d46291997df599e3ed008ee4c0",
    "integrity": "sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==",
    "registry": "npm",
    "packageName": "caniuse-api",
    "cacheIntegrity": "sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw== sha1-Xk2Q4idJYdRikZl99Znj7QCO5MA="
  },
  "registry": "npm",
  "hash": "5e4d90e2274961d46291997df599e3ed008ee4c0"
}