{
  "_args": [
    [
      {
        "raw": "electron-to-chromium@^1.3.9",
        "scope": null,
        "escapedName": "electron-to-chromium",
        "name": "electron-to-chromium",
        "rawSpec": "^1.3.9",
        "spec": ">=1.3.9 <2.0.0",
        "type": "range"
      },
      "/Users/sindresorhus/dev/sublime-autoprefixer/node_modules/browserslist"
    ]
  ],
  "_from": "electron-to-chromium@>=1.3.9 <2.0.0",
  "_id": "electron-to-chromium@1.3.9",
  "_inCache": true,
  "_location": "/electron-to-chromium",
  "_nodeVersion": "6.10.2",
  "_npmOperationalInternal": {
    "host": "packages-18-east.internal.npmjs.com",
    "tmp": "tmp/electron-to-chromium-1.3.9.tgz_1493712148020_0.27724357624538243"
  },
  "_npmUser": {
    "name": "kilianvalkhof",
    "email": "kilian@kilianvalkhof.com"
  },
  "_npmVersion": "3.10.10",
  "_phantomChildren": {},
  "_requested": {
    "raw": "electron-to-chromium@^1.3.9",
    "scope": null,
    "escapedName": "electron-to-chromium",
    "name": "electron-to-chromium",
    "rawSpec": "^1.3.9",
    "spec": ">=1.3.9 <2.0.0",
    "type": "range"
  },
  "_requiredBy": [
    "/browserslist"
  ],
  "_resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.9.tgz",
  "_shasum": "db1cba2a26aebcca2f7f5b8b034554468609157d",
  "_shrinkwrap": null,
  "_spec": "electron-to-chromium@^1.3.9",
  "_where": "/Users/sindresorhus/dev/sublime-autoprefixer/node_modules/browserslist",
  "author": {
    "name": "Kilian Valkhof"
  },
  "bugs": {
    "url": "https://github.com/kilian/electron-to-chromium/issues"
  },
  "dependencies": {},
  "description": "Provides a list of electron-to-chromium version mappings",
  "devDependencies": {
    "ava": "^0.18.2",
    "codecov": "^2.1.0",
    "nyc": "^10.2.0",
    "request": "^2.79.0",
    "shelljs": "^0.7.6"
  },
  "directories": {},
  "dist": {
    "shasum": "db1cba2a26aebcca2f7f5b8b034554468609157d",
    "tarball": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.9.tgz"
  },
  "files": [
    "versions.js",
    "full-versions.js",
    "chromium-versions.js",
    "full-chromium-versions.js"
  ],
  "gitHead": "601abb965542f0a6914f79e3b4b4e96a509b2202",
  "homepage": "https://github.com/kilian/electron-to-chromium#readme",
  "keywords": [
    "electron",
    "chrome",
    "browserlist"
  ],
  "license": "ISC",
  "main": "index.js",
  "maintainers": [
    {
      "name": "kilianvalkhof",
      "email": "kilian@kilianvalkhof.com"
    }
  ],
  "name": "electron-to-chromium",
  "optionalDependencies": {},
  "readme": "# Electron-to-Chromium [![npm](https://img.shields.io/npm/v/electron-to-chromium.svg)](https://www.npmjs.com/package/electron-to-chromium) [![travis](https://img.shields.io/travis/Kilian/electron-to-chromium/master.svg)](https://travis-ci.org/Kilian/electron-to-chromium) [![npm-downloads](https://img.shields.io/npm/dm/electron-to-chromium.svg)](https://www.npmjs.com/package/electron-to-chromium) [![codecov](https://codecov.io/gh/Kilian/electron-to-chromium/branch/master/graph/badge.svg)](https://codecov.io/gh/Kilian/electron-to-chromium)\n\nThis repository provides a mapping of Electron versions to the Chromium version that it uses.\n\nThis package is used in [Browserslist](https://github.com/ai/browserslist), so you can use e.g. `electron >= 1.4` in [Autoprefixer](https://github.com/postcss/autoprefixer), [Stylelint](https://github.com/stylelint/stylelint), [babel-preset-env](https://github.com/babel/babel-preset-env) and [eslint-plugin-compat](https://github.com/amilajack/eslint-plugin-compat).\n\n## Install\nInstall using `npm install electron-to-chromium`.\n\n## Usage\nTo include Electron-to-Chromium, require it:\n\n```js\nvar e2c = require('electron-to-chromium');\n```\n\n### Properties\nThe Electron-to-Chromium object has 4 properties to use:\n\n#### `versions`\nAn object of key-value pairs with a _major_ Electron version as the key, and the corresponding major Chromium version as the value.\n\n```js\nvar versions = e2c.versions;\nconsole.log(versions['1.4']);\n// returns \"53\"\n```\n\n#### `fullVersions`\nAn object of key-value pairs with a Electron version as the key, and the corresponding full Chromium version as the value.\n\n```js\nvar versions = e2c.fullVersions;\nconsole.log(versions['1.4.11']);\n// returns \"53.0.2785.143\"\n```\n\n#### `chromiumVersions`\nAn object of key-value pairs with a _major_ Chromium version as the key, and the corresponding major Electron version as the value.\n\n```js\nvar versions = e2c.chromiumVersions;\nconsole.log(versions['54']);\n// returns \"1.4\"\n```\n\n#### `fullChromiumVersions`\nAn object of key-value pairs with a Chromium version as the key, and an array of the corresponding major Electron versions as the value.\n\n```js\nvar versions = e2c.fullChromiumVersions;\nconsole.log(versions['54.0.2840.101']);\n// returns [\"1.5.1\", \"1.5.0\"]\n```\n### Functions\n\n#### `electronToChromium(query)`\nArguments:\n* Query: string or number, required. A major or full Electron version.\n\nA function that returns the corresponding Chromium version for a given Electron function. Returns a string.\n\nIf you provide it with a major Electron version, it will return a major Chromium version:\n\n```js\nvar chromeVersion = e2c.electronToChromium('1.4');\n// chromeVersion is \"53\"\n```\n\nIf you provide it with a full Electron version, it will return the full Chromium version.\n\n```js\nvar chromeVersion = e2c.electronToChromium('1.4.11');\n// chromeVersion is \"53.0.2785.143\"\n```\n\nIf a query does not match a Chromium version, it will return `undefined`.\n\n```js\nvar chromeVersion = e2c.electronToChromium('9000');\n// chromeVersion is undefined\n```\n\n#### `chromiumToElectron(query)`\nArguments:\n* Query: string or number, required. A major or full Chromium version.\n\nReturns a string with the corresponding Electron version for a given Chromium query.\n\nIf you provide it with a major Chromium version, it will return a major Electron version:\n\n```js\nvar electronVersion = e2c.chromiumToElectron('54');\n// electronVersion is \"1.4\"\n```\n\nIf you provide it with a full Chrome version, it will return an array of full Electron versions.\n\n```js\nvar electronVersions = e2c.chromiumToElectron('56.0.2924.87');\n// electronVersions is [\"1.6.3\", \"1.6.2\", \"1.6.1\", \"1.6.0\"]\n```\n\nIf a query does not match an Electron version, it will return `undefined`.\n\n```js\nvar electronVersion = e2c.chromiumToElectron('10');\n// chromeVersion is undefined\n```\n\n#### `electronToBrowserList(query)` **DEPRECATED**\nArguments:\n* Query: string or number, required. A major Electron version.\n\n_**Deprecated**: Browserlist already includes electron-to-chromium._\n\nA function that returns a [Browserslist](https://github.com/ai/browserslist) query that matches the given major Electron version. Returns a string.\n\nIf you provide it with a major Electron version, it will return a Browserlist query string that matches the Chromium capabilities:\n\n```js\nvar query = e2c.electronToBrowserList('1.4');\n// query is \"Chrome >= 53\"\n```\n\nIf a query does not match a Chromium version, it will return `undefined`.\n\n```js\nvar query = e2c.electronToBrowserList('9000');\n// query is undefined\n```\n\n### Importing just versions, fullVersions, chromiumVersions and fullChromiumVersions\nAll lists can be imported on their own, if file size is a concern.\n\n#### `versions`\n\n```js\nvar versions = require('electron-to-chromium/versions');\n```\n\n#### `fullVersions`\n\n```js\nvar fullVersions = require('electron-to-chromium/full-versions');\n```\n\n#### `chromiumVersions`\n\n```js\nvar chromiumVersions = require('electron-to-chromium/chromium-versions');\n```\n\n#### `fullChromiumVersions`\n\n```js\nvar fullChromiumVersions = require('electron-to-chromium/full-chromium-versions');\n```\n\n## Updating\nThis package will be updated with each new Electron release.\n\nTo update the list, run `npm run build.js`. Requires internet access as it downloads from the canonical list of Electron versions.\n\nTo verify correct behaviour, run `npm test`.\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/kilian/electron-to-chromium.git"
  },
  "scripts": {
    "build": "node build.js",
    "report": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
    "test": "nyc ava --verbose",
    "update": "node automated-update.js"
  },
  "version": "1.3.9"
}
