{"_id":"electron-version","_rev":"218482","name":"electron-version","description":"Find the installed electron version","dist-tags":{"latest":"2.0.1"},"maintainers":[{"name":"ralphtheninja","email":""}],"time":{"modified":"2023-03-24T09:29:14.000Z","created":"2015-10-03T15:41:41.783Z","2.0.1":"2018-11-27T20:58:47.311Z","2.0.0":"2018-08-29T10:56:06.130Z","1.1.2":"2018-01-19T21:25:07.699Z","1.1.1":"2017-08-25T21:08:28.566Z","1.1.0":"2017-03-14T16:15:03.093Z","1.0.2":"2015-10-03T21:21:39.682Z","1.0.1":"2015-10-03T21:11:30.039Z","1.0.0":"2015-10-03T15:41:41.783Z"},"users":{},"author":{"name":"LM","email":"ralphtheninja@riseup.net"},"repository":{"type":"git","url":"git+https://github.com/ralphtheninja/electron-version.git"},"versions":{"2.0.1":{"name":"electron-version","version":"2.0.1","description":"Find the installed electron version","main":"index.js","dependencies":{"bl":"^2.0.0","once":"^1.3.2","semver":"^5.0.3"},"devDependencies":{"standard":"^12.0.0","tape":"^4.2.1"},"homepage":"https://github.com/ralphtheninja/electron-version","repository":{"type":"git","url":"git+https://github.com/ralphtheninja/electron-version.git"},"scripts":{"test":"tape test/*.js && standard"},"author":{"name":"LM","email":"ralphtheninja@riseup.net"},"keywords":["electron","version","devops"],"license":"WTFPL","engines":{"node":">=6.0.0"},"gitHead":"0d8a0276dcace936dcd18817fdb211ac3b494bad","bugs":{"url":"https://github.com/ralphtheninja/electron-version/issues"},"_id":"electron-version@2.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"ralphtheninja","email":"ralphtheninja@riseup.net"},"dist":{"shasum":"22f5c412da62f925bf3bf3aff340d511154fb4ab","size":2377,"noattachment":false,"key":"/electron-version/-/electron-version-2.0.1.tgz","tarball":"http://name.csiicloud.com:7001/electron-version/download/electron-version-2.0.1.tgz"},"maintainers":[{"name":"ralphtheninja","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/electron-version_2.0.1_1543352327097_0.2490240172015168"},"_hasShrinkwrap":false,"publish_time":1543352327311,"_cnpm_publish_time":1543352327311,"_cnpmcore_publish_time":"2021-12-17T11:49:22.329Z"},"2.0.0":{"name":"electron-version","version":"2.0.0","description":"Find the installed electron version","main":"index.js","dependencies":{"bl":"^2.0.0","once":"^1.3.2","semver":"^5.0.3"},"devDependencies":{"standard":"^12.0.0","tape":"^4.2.1"},"homepage":"https://github.com/ralphtheninja/electron-version","repository":{"type":"git","url":"git+https://github.com/ralphtheninja/electron-version.git"},"scripts":{"test":"tape test/*.js && standard"},"author":{"name":"LM","email":"ralphtheninja@riseup.net"},"keywords":["electron","version","devops"],"license":"WTFPL","engines":{"node":">=6.0.0"},"gitHead":"826e513a5f013d5d05d74f08505029a352a3630b","bugs":{"url":"https://github.com/ralphtheninja/electron-version/issues"},"_id":"electron-version@2.0.0","_npmVersion":"6.2.0","_nodeVersion":"10.9.0","_npmUser":{"name":"ralphtheninja","email":"ralphtheninja@riseup.net"},"dist":{"shasum":"7c90c46d64f15bb392305f3fe43119b7cfd73efa","size":1678,"noattachment":false,"key":"/electron-version/-/electron-version-2.0.0.tgz","tarball":"http://name.csiicloud.com:7001/electron-version/download/electron-version-2.0.0.tgz"},"maintainers":[{"name":"ralphtheninja","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/electron-version_2.0.0_1535540166000_0.09486872910120381"},"_hasShrinkwrap":false,"publish_time":1535540166130,"_cnpm_publish_time":1535540166130,"_cnpmcore_publish_time":"2021-12-17T11:49:22.542Z"},"1.1.2":{"name":"electron-version","version":"1.1.2","description":"Find the installed electron version","main":"index.js","dependencies":{"bl":"^1.0.0","once":"^1.3.2","semver":"^5.0.3"},"devDependencies":{"standard":"^10.0.3","tape":"^4.2.1"},"homepage":"https://github.com/ralphtheninja/electron-version","repository":{"type":"git","url":"git+https://github.com/ralphtheninja/electron-version.git"},"scripts":{"test":"tape test/*.js && standard"},"author":{"name":"LM","email":"ralphtheninja@riseup.net"},"keywords":["electron","version","devops"],"license":"WTFPL","engines":{"node":">=6.0.0"},"gitHead":"af1f6be1b49a975945927086d7cb76e5a5304b21","bugs":{"url":"https://github.com/ralphtheninja/electron-version/issues"},"_id":"electron-version@1.1.2","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"ralphtheninja","email":"ralphtheninja@riseup.net"},"dist":{"shasum":"cb56c946bebda2ce2baa5d02eb8c1f2c6df2d66a","size":1704,"noattachment":false,"key":"/electron-version/-/electron-version-1.1.2.tgz","tarball":"http://name.csiicloud.com:7001/electron-version/download/electron-version-1.1.2.tgz"},"maintainers":[{"name":"ralphtheninja","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/electron-version-1.1.2.tgz_1516397106763_0.7996482856106013"},"directories":{},"publish_time":1516397107699,"_hasShrinkwrap":false,"_cnpm_publish_time":1516397107699,"_cnpmcore_publish_time":"2021-12-17T11:49:22.789Z"},"1.1.1":{"name":"electron-version","version":"1.1.1","description":"Find the installed electron version","main":"index.js","dependencies":{"bl":"^1.0.0","once":"^1.3.2","semver":"^5.0.3"},"devDependencies":{"standard":"^10.0.3","tape":"^4.2.1"},"homepage":"https://github.com/ralphtheninja/electron-version","repository":{"type":"git","url":"git+https://github.com/ralphtheninja/electron-version.git"},"scripts":{"test":"tape test/*.js && standard"},"author":{"name":"LM","email":"ralphtheninja@riseup.net"},"keywords":["electron","version","devops"],"license":"WTFPL","gitHead":"ec9ceec8764625e9ed917adfb99910c1424d459b","bugs":{"url":"https://github.com/ralphtheninja/electron-version/issues"},"_id":"electron-version@1.1.1","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"ralphtheninja","email":"ralphtheninja@riseup.net"},"dist":{"shasum":"a4196c445215d9811bdc18fdc964bee1f8d6fa19","size":1751,"noattachment":false,"key":"/electron-version/-/electron-version-1.1.1.tgz","tarball":"http://name.csiicloud.com:7001/electron-version/download/electron-version-1.1.1.tgz"},"maintainers":[{"name":"ralphtheninja","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/electron-version-1.1.1.tgz_1503695307427_0.39004383445717394"},"directories":{},"publish_time":1503695308566,"_hasShrinkwrap":false,"_cnpm_publish_time":1503695308566,"_cnpmcore_publish_time":"2021-12-17T11:49:23.003Z"},"1.1.0":{"name":"electron-version","version":"1.1.0","description":"utility function for getting electron version string","main":"index.js","dependencies":{"bl":"^1.0.0","once":"^1.3.2","semver":"^5.0.3"},"devDependencies":{"standard":"^9.0.1","tape":"^4.2.1"},"homepage":"https://github.com/ralphtheninja/electron-version","repository":{"type":"git","url":"git+https://github.com/ralphtheninja/electron-version.git"},"scripts":{"test":"tape test/*.js && standard"},"author":{"name":"LM","email":"ralphtheninja@riseup.net"},"keywords":["electron","version","devops"],"license":"WTFPL","gitHead":"90182d4990b8e227629fcf357294a6eb760d0545","bugs":{"url":"https://github.com/ralphtheninja/electron-version/issues"},"_id":"electron-version@1.1.0","_shasum":"14899e16c4ff49a13720ae151a6469cb159f2e22","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"ralphtheninja","email":"ralphtheninja@riseup.net"},"dist":{"shasum":"14899e16c4ff49a13720ae151a6469cb159f2e22","size":1675,"noattachment":false,"key":"/electron-version/-/electron-version-1.1.0.tgz","tarball":"http://name.csiicloud.com:7001/electron-version/download/electron-version-1.1.0.tgz"},"maintainers":[{"name":"ralphtheninja","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/electron-version-1.1.0.tgz_1489508101131_0.48044402291998267"},"directories":{},"publish_time":1489508103093,"_hasShrinkwrap":false,"_cnpm_publish_time":1489508103093,"_cnpmcore_publish_time":"2021-12-17T11:49:23.217Z"},"1.0.2":{"name":"electron-version","version":"1.0.2","description":"utility function for getting electron version string","main":"index.js","dependencies":{"bl":"^1.0.0","once":"^1.3.2","semver":"^5.0.3"},"devDependencies":{"standard":"^5.3.1","tape":"^4.2.1"},"homepage":"https://github.com/ralphtheninja/electron-version","repository":{"type":"git","url":"https://github.com/ralphtheninja/electron-version.git"},"scripts":{"test":"tape test/*.js && standard"},"author":{"name":"LM","email":"ralphtheninja@riseup.net"},"keywords":["electron","version","devops"],"license":"WTFPL","gitHead":"4692ed53686eba332949a41929d5a27ec2e68c75","bugs":{"url":"https://github.com/ralphtheninja/electron-version/issues"},"_id":"electron-version@1.0.2","_shasum":"c4f91828581b17b3c1be4a79fc6cfedaffad4b79","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"ralphtheninja","email":"ralphtheninja@riseup.net"},"maintainers":[{"name":"ralphtheninja","email":""}],"dist":{"shasum":"c4f91828581b17b3c1be4a79fc6cfedaffad4b79","size":1542,"noattachment":false,"key":"/electron-version/-/electron-version-1.0.2.tgz","tarball":"http://name.csiicloud.com:7001/electron-version/download/electron-version-1.0.2.tgz"},"directories":{},"publish_time":1443907299682,"_hasShrinkwrap":false,"_cnpm_publish_time":1443907299682,"_cnpmcore_publish_time":"2021-12-17T11:49:23.473Z"},"1.0.1":{"name":"electron-version","version":"1.0.1","description":"utility function for getting electron version string","main":"index.js","dependencies":{"bl":"^1.0.0","once":"^1.3.2","semver":"^5.0.3"},"devDependencies":{"standard":"^5.3.1","tape":"^4.2.1"},"homepage":"https://github.com/ralphtheninja/electron-version","repository":{"type":"git","url":"https://github.com/ralphtheninja/electron-version.git"},"scripts":{"test":"tape test/*.js && standard"},"author":{"name":"LM","email":"ralphtheninja@riseup.net"},"keywords":["electron","version","devops"],"license":"WTFPL","gitHead":"7e34dc5610469bdca77469c2e2acc4a065b6aec5","bugs":{"url":"https://github.com/ralphtheninja/electron-version/issues"},"_id":"electron-version@1.0.1","_shasum":"016b6b1de527ae637676884da31f765e0d485d68","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"ralphtheninja","email":"ralphtheninja@riseup.net"},"maintainers":[{"name":"ralphtheninja","email":""}],"dist":{"shasum":"016b6b1de527ae637676884da31f765e0d485d68","size":1533,"noattachment":false,"key":"/electron-version/-/electron-version-1.0.1.tgz","tarball":"http://name.csiicloud.com:7001/electron-version/download/electron-version-1.0.1.tgz"},"directories":{},"publish_time":1443906690039,"_hasShrinkwrap":false,"_cnpm_publish_time":1443906690039,"_cnpmcore_publish_time":"2021-12-17T11:49:23.681Z"},"1.0.0":{"name":"electron-version","version":"1.0.0","description":"utility function for getting electron version string","main":"index.js","dependencies":{"bl":"^1.0.0","once":"^1.3.2"},"devDependencies":{"electron-prebuilt":"^0.33.4","standard":"^5.3.1","tape":"^4.2.1"},"homepage":"https://github.com/ralphtheninja/electron-version","repository":{"type":"git","url":"https://github.com/ralphtheninja/electron-version.git"},"scripts":{"test":"standard && tape test/*.js"},"author":{"name":"LM","email":"ralphtheninja@riseup.net"},"keywords":["electron","version","devops"],"license":"WTFPL","gitHead":"c871e69e6499705e8251e639c619366aaf742dc7","bugs":{"url":"https://github.com/ralphtheninja/electron-version/issues"},"_id":"electron-version@1.0.0","_shasum":"90e234282f16e9071e3087334ee294b3acfe5134","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"ralphtheninja","email":"ralphtheninja@riseup.net"},"maintainers":[{"name":"ralphtheninja","email":""}],"dist":{"shasum":"90e234282f16e9071e3087334ee294b3acfe5134","size":1420,"noattachment":false,"key":"/electron-version/-/electron-version-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/electron-version/download/electron-version-1.0.0.tgz"},"directories":{},"publish_time":1443886901783,"_hasShrinkwrap":false,"_cnpm_publish_time":1443886901783,"_cnpmcore_publish_time":"2021-12-17T11:49:23.901Z"}},"readme":"# electron-version\n\n> Find the installed `electron` version\n\n![Node version](https://img.shields.io/node/v/electron-version.svg)\n[![Build Status](https://travis-ci.org/ralphtheninja/electron-version.svg?branch=master)](https://travis-ci.org/ralphtheninja/electron-version)\n[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n## Install\n\n```\n$ npm i electron-version -S\n```\n\n## Usage\n\nCalls back with a version string if `electron` is installed.\n\n```js\nconst electronVersion = require('electron-version')\nelectronVersion(function (err, v) {\n  console.log(err, v) // null 'v0.33.4'\n})\n```\n\nYou can optionally specify a custom path to the `electron` binary.\n\n```js\nconst path = require('path')\nconst electronVersion = require('electron-version')\nconst electronPath = path.join(__dirname, 'node_modules/.bin/electron')\n\nelectronVersion(electronPath, function (err, v) {\n  console.log(err, v) // null 'v1.6.3'\n})\n```\n\n## License\nAll code, unless stated otherwise, is licensed under the [`WTFPL`](http://www.wtfpl.net/txt/copying/) license.\n","_attachments":{},"homepage":"https://github.com/ralphtheninja/electron-version","bugs":{"url":"https://github.com/ralphtheninja/electron-version/issues"},"license":"WTFPL"}