{"_id":"is-electron","_rev":"29-1b9d7c9329395cf78bb5661a034477fb","name":"is-electron","time":{"modified":"2023-02-21T12:23:25.098Z","created":"2016-04-26T08:24:51.291Z","1.0.0":"2016-04-26T08:24:51.291Z","1.0.1":"2016-04-26T08:37:07.886Z","1.1.0":"2016-04-28T09:13:36.587Z","1.2.0":"2016-04-29T14:04:01.038Z","1.2.1":"2016-05-12T20:26:19.429Z","1.2.2":"2016-05-12T20:27:48.551Z","0.0.1-security":"2016-06-08T22:14:40.047Z","2.0.0":"2016-06-16T23:01:28.546Z","2.1.0":"2017-08-02T10:39:53.932Z","2.2.0":"2018-10-31T15:10:14.440Z","2.2.1":"2021-11-21T01:09:54.193Z","2.2.2":"2023-02-21T12:23:25.015Z"},"maintainers":[{"name":"cheton","email":"cheton@gmail.com"}],"dist-tags":{"latest":"2.2.2"},"description":"Detect if running in Electron.","readme":"# is-electron [![build status](https://travis-ci.org/cheton/is-electron.svg?branch=master)](https://travis-ci.org/cheton/is-electron) [![Coverage Status](https://coveralls.io/repos/github/cheton/is-electron/badge.svg?branch=master)](https://coveralls.io/github/cheton/is-electron?branch=master)\n\n[![NPM](https://nodei.co/npm/is-electron.png?downloads=true&stars=true)](https://www.npmjs.com/package/is-electron)\n\nDetect if running in Electron.\n\n## Installation\n\n```bash\nnpm install --save is-electron\n```\n\n## Usage\n\n```js\nimport isElectron from 'is-electron';\n\nconsole.log(isElectron());\n```\n\n## License\n\nCopyright (c) 2016 Cheton Wu\n\nLicensed under the [MIT License](LICENSE).\n","versions":{"0.0.1-security":{"name":"is-electron","version":"0.0.1-security","description":"This package name is not currently in use, but was formerly occupied by another package. To avoid malicious use, npm is hanging on to the package name, but loosely, and we'll probably give it to you if you want it.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/npm/security-holder.git"},"keywords":[],"author":"","license":"ISC","bugs":{"url":"https://github.com/npm/security-holder/issues"},"homepage":"https://github.com/npm/security-holder#readme","_id":"is-electron@0.0.1-security","_shasum":"5187c83aaea3d6790f902a85fcc613b4410fca98","_from":".","_npmVersion":"3.5.2","_nodeVersion":"4.1.2","_npmUser":{"name":"ehsalazar","email":"ernie@npmjs.com"},"dist":{"shasum":"5187c83aaea3d6790f902a85fcc613b4410fca98","tarball":"https://registry.npmjs.org/is-electron/-/is-electron-0.0.1-security.tgz","integrity":"sha512-qZOz1DKrQQMGO+UanbAqVsfVTpoEqICdjQ7hqjAvEyyxNx9piQAd8/vkzOYU6pcxT0YmQIT/bXhLVzEOQp0bJg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICQFZX762ydgXLtutwY6sskJiqNyN9t+KYJoiicipODSAiAW89NWPpufl+g0hAX5I/pd2LhX020P2y916wZyblV30A=="}]},"maintainers":[{"name":"ehsalazar","email":"ernie@npmjs.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/is-electron-0.0.1-security.tgz_1465424077716_0.3987317797727883"},"directories":{}},"2.0.0":{"name":"is-electron","version":"2.0.0","description":"Detect if running in Electron.","homepage":"https://github.com/cheton/is-electron","main":"index.js","files":["index.js"],"scripts":{"test":"tap --coverage test/*.js","coveralls":"tap --coverage --coverage-report=text-lcov test/*.js | node_modules/.bin/coveralls"},"author":{"name":"Cheton Wu","email":"cheton@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/cheton/is-electron.git"},"keywords":["atom","electron","renderer","process"],"devDependencies":{"coveralls":"^2.11.9","tap":"^5.7.2"},"nyc":{"exclude":[]},"gitHead":"89a905e1dd1e24babeffc472341e633009aa41f8","bugs":{"url":"https://github.com/cheton/is-electron/issues"},"_id":"is-electron@2.0.0","_shasum":"c82d3599640f7df91c84eaaee76bc56713c6ac79","_from":".","_npmVersion":"3.8.8","_nodeVersion":"4.4.3","_npmUser":{"name":"cheton","email":"cheton@gmail.com"},"dist":{"shasum":"c82d3599640f7df91c84eaaee76bc56713c6ac79","tarball":"https://registry.npmjs.org/is-electron/-/is-electron-2.0.0.tgz","integrity":"sha512-VDe6eanPIpm1XBj1VDE7yaeNCW6LDcrFOxo3H2pV0Evp0y0drgUTcGUDDV8HGlR3DN5/I93duMdUJy0je1TvQw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqcjQtBI+kytn9u7TQDCLHhGlP/0rydXhDMtqxsSzk9AIgW/b5Xm9I33hA0w45nTZBCIX2i7ZKlB3Mu/09a0PoD6Q="}]},"maintainers":[{"name":"cheton","email":"cheton@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/is-electron-2.0.0.tgz_1466118086182_0.36699190782383084"},"directories":{}},"2.1.0":{"name":"is-electron","version":"2.1.0","description":"Detect if running in Electron.","homepage":"https://github.com/cheton/is-electron","main":"index.js","files":["index.js"],"scripts":{"test":"tap --coverage test/*.js","coveralls":"tap --coverage --coverage-report=text-lcov test/*.js | node_modules/.bin/coveralls"},"author":{"name":"Cheton Wu","email":"cheton@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/cheton/is-electron.git"},"keywords":["atom","electron","renderer","process"],"devDependencies":{"coveralls":"^2.11.9","tap":"^5.7.2"},"nyc":{"exclude":[]},"gitHead":"4acaa6cab8b527c57c6e56381e6f9766d57c56b2","bugs":{"url":"https://github.com/cheton/is-electron/issues"},"_id":"is-electron@2.1.0","_npmVersion":"5.3.0","_nodeVersion":"4.8.3","_npmUser":{"name":"cheton","email":"cheton@gmail.com"},"dist":{"integrity":"sha512-dkg5xT383+M6zIbbXW/z7n2nz4SFUi2OSyhntnFYkRdtV+HVEfdjEK+5AWisfYgkpe3WYjTIuh7toaKmSfFVWw==","shasum":"37dd2e9e7167efa8bafce86c0c25762bc4b851fa","tarball":"https://registry.npmjs.org/is-electron/-/is-electron-2.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQz/X8FwtVrVYJJydDG3YLsLaD052FtJ3to3ZtT9d/iwIgfgS1XQgnUSsTIf9G7i7LgwyIpHzNRc0AjcwcTQlPQhM="}]},"maintainers":[{"name":"cheton","email":"cheton@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-electron-2.1.0.tgz_1501670393774_0.4536063086707145"},"directories":{}},"2.2.0":{"name":"is-electron","version":"2.2.0","description":"Detect if running in Electron.","homepage":"https://github.com/cheton/is-electron","main":"index.js","types":"index.d.ts","scripts":{"test":"tap --coverage test/*.js","coveralls":"tap --coverage --coverage-report=text-lcov test/*.js | node_modules/.bin/coveralls"},"author":{"name":"Cheton Wu","email":"cheton@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/cheton/is-electron.git"},"keywords":["atom","electron","renderer","process"],"devDependencies":{"coveralls":"^2.11.9","tap":"^5.7.2"},"nyc":{"exclude":[]},"gitHead":"bef9ad77c8386712aa80779acf1f8cdb59e91e0e","bugs":{"url":"https://github.com/cheton/is-electron/issues"},"_id":"is-electron@2.2.0","_npmVersion":"6.4.1","_nodeVersion":"6.11.5","_npmUser":{"name":"cheton","email":"cheton@gmail.com"},"dist":{"integrity":"sha512-SpMppC2XR3YdxSzczXReBjqs2zGscWQpBIKqwXYBFic0ERaxNVgwLCHwOLZeESfdJQjX0RDvrJ1lBXX2ij+G1Q==","shasum":"8943084f09e8b731b3a7a0298a7b5d56f6b7eef0","tarball":"https://registry.npmjs.org/is-electron/-/is-electron-2.2.0.tgz","fileCount":5,"unpackedSize":3251,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2cXXCRA9TVsSAnZWagAAPZIP+wduN4Ul0zkdqL3A3ity\ns7qB0eeiSQfWalGF6+QOem9CRUVkUpAFoWvaEIl8n254k6DeDgAT9Ksh/KqW\nuF35NHr47CdmhxLl/2g4aTi+9n7d5KeYnJ4YsdWXPpcjpTmxdxVl04/nDwWM\nMvZ3qjCwRD0C/A+Evnp42kQ25esOiMd9cV5YrtwXt4pCf2WM6aiUY/vGts8X\nsH1DB88rSHUYgm2CuBJ5jWnspznwnnXkcUE9u0kXsbTdoX6wbbybNf/tc/PY\n5do+vck3w8T3lvWNpHIW0GMK6dccLbdZ3onHqFW/oHWzBPU1FTn2avGU1jhU\nrvRIPn8/Uon+zrvCXOcpLimoELgRsOoSL2NcDXHkHF1EKtLkLy+fm6fSmHab\nzh8QIAPPgUc+Rd4O5xNfz/oBRBR5X7ilxEHVu7E8FV1JEbbQYvuNDbfrmPlp\nEBRIC6pE1S6pAilI5Sp6un3aUyNgpjjOFxrKvRL6vMdbhyjgohhWddvqyPE+\n9RWf8S4FIAysu4goXmZmt6782f5ewHw8GW8+leds0k3B7gGUeQZRJ3PkaF2R\nwE+Sl8mqMcXn7cX7D8wUwkVyZsX9UKlbyQi+nVmy+0zKezzpwum+97l9TbwI\nhcgbGSjcdhQa5hcq8hwx0kxPfxQTRpWEjbuVHdzGxm1LFJ9iVKzVEZ+VTYKc\njsLy\r\n=v/gf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTwfEMaHGQtLrv7Qz1nTIVAFte9W7/oopuJvmjdLeDUwIgXUG0SszJ70g86ywdmTnwR76TVuh/dQPt4R62ujF00Fs="}]},"maintainers":[{"name":"cheton","email":"cheton@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-electron_2.2.0_1540998614344_0.4643094888370478"},"_hasShrinkwrap":false},"2.2.1":{"name":"is-electron","version":"2.2.1","description":"Detect if running in Electron.","homepage":"https://github.com/cheton/is-electron","main":"index.js","types":"index.d.ts","scripts":{"test":"tap --coverage test/*.js","coveralls":"tap --coverage --coverage-report=text-lcov test/*.js | node_modules/.bin/coveralls"},"author":{"name":"Cheton Wu","email":"cheton@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/cheton/is-electron.git"},"keywords":["atom","electron","renderer","process"],"devDependencies":{"coveralls":"^2.11.9","tap":"^5.7.2"},"nyc":{"exclude":[]},"gitHead":"3bd60eb2f47d99ea3197c67a83e6f424372e0698","bugs":{"url":"https://github.com/cheton/is-electron/issues"},"_id":"is-electron@2.2.1","_nodeVersion":"12.22.7","_npmVersion":"8.1.1","dist":{"integrity":"sha512-r8EEQQsqT+Gn0aXFx7lTFygYQhILLCB+wn0WCDL5LZRINeLH/Rvw1j2oKodELLXYNImQ3CRlVsY8wW4cGOsyuw==","shasum":"751b1dd8a74907422faa5c35aaa0cf66d98086e9","tarball":"https://registry.npmjs.org/is-electron/-/is-electron-2.2.1.tgz","fileCount":5,"unpackedSize":3257,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmZxiCRA9TVsSAnZWagAAxcYP/025DrEPEnDJjj26K6VO\nqS9MhHh764+qoEtYiFkmoMWnjeyx8SRnxjNaQXtBv4RF7bDsjH2wAqMRhYBD\nhgjLmhlZxL8XGd6o5rmyeyENhgfx1Y/ofv2gfPHaoykmCxjlMX+zOTIUOTdq\n3BnRX6ZQKfEjqCF5DgpvyFjhvwzSzIzrqtIAg/d9LdfvCjq/TWhdi4ibr6VI\n5JTCqTiMzK+2Xvt4Xvvcm05z7LvJCnsk3iifmgWW7wOTllZZr6WzRe8oEYnU\nK2+JCixSCr/ZZXeDVKY/MqSEtCh6jyAUpE+dpB9JyPR+Jvl6bjaQ00wjlFqd\nlN5KH318POeYly3J9+od7pSvOWeNgaUEoorDODNqb1MEFgkvxU9Uj2kE0/yq\ndLArp/TITc4OgDOWSxpiUJBqi8wedrUnfBoroMX4ZFf9I1mTKIGhKgaboMAz\naI9dqHlPHASqcl8uV2xiviR89eUlQUc3oCbLbe9zCW53eoLQ2djsUII1Uych\nTMPyVZzYUlUmkeF1bKdP8jVy+SfhIMKomrOxbryEeZqsinncYHJz76A2oq0e\nAeUugCEntNEznYmt2d+u0Bj286StwUeSxgvCMAHy2kgvz1Ovv9MDTo50yHpT\nT6ZAFmpb7NW5ezz+nMO/L9tFg8L1LFOHc2tu4JAtWUwnpD8vcT0iuzoIrCjC\np18d\r\n=dZnC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGLvx1XJjU6fskOlUqs2vGsn08tNcZFr5zDlVgComeKpAiEA3u3gQ/v97SWKeXyfF7ouGfbD0yy9/mohr1aPl3G89Jk="}]},"_npmUser":{"name":"cheton","email":"cheton@gmail.com"},"directories":{},"maintainers":[{"name":"cheton","email":"cheton@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-electron_2.2.1_1637456993785_0.9940440842996081"},"_hasShrinkwrap":false},"2.2.2":{"name":"is-electron","version":"2.2.2","description":"Detect if running in Electron.","homepage":"https://github.com/cheton/is-electron","main":"index.js","types":"index.d.ts","scripts":{"test":"tap --coverage test/*.js","coveralls":"tap --coverage --coverage-report=text-lcov test/*.js | node_modules/.bin/coveralls"},"author":{"name":"Cheton Wu","email":"cheton@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git@github.com:cheton/is-electron.git"},"keywords":["atom","electron","renderer","process"],"devDependencies":{"coveralls":"^2.11.9","tap":"^5.7.2"},"nyc":{"exclude":[]},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2016-2018 Cheton Wu\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","_id":"is-electron@2.2.2","dist":{"shasum":"3778902a2044d76de98036f5dc58089ac4d80bb9","integrity":"sha512-FO/Rhvz5tuw4MCWkpMzHFKWD2LsfHzIb7i6MdPYZ/KW7AlxawyLkqdy+jPZP1WubqEADE3O4FUENlJHDfQASRg==","tarball":"https://registry.npmjs.org/is-electron/-/is-electron-2.2.2.tgz","fileCount":6,"unpackedSize":3260,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmKFqL96WAWbZG/iRvxR+dBRmM9YYr0fekW7YVm0mqMgIgR0MFjurfN99BvpsKKhZ27OMZZRP50elxmUGnEby0tHU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9Le9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo+8Q//TUc+ln/f6wNes0Naocmi0Pd1OpHHJBWZe7TNwTR/OeZO+4mQ\r\n94FG1nQsaJtlgBrW+fKXGDm8T2/UXpHOZbolpMeUTkRmSkl6+y0Y3kHVGim6\r\naur7nuzRsNwQC675kPQIvnhMsyiwZ+PxkI2qkjqZeIM6odhufFr1IVmQTsm1\r\negLViqe/+rE0s1X+ey8ZwFGcEKe/rnVfeG4eC189g/0WbsB6S/E2Z48yy6mV\r\nGbXHb0Udr9uqRnjlrf6sEwTIMql1j5qz3SrV+NjHTm0KVp0+mkTY8VI8A7NO\r\nwM0tXAgQu9WfF7Mzy2C5bvhvowxhxOTIuxK6VRz41uPHa9XTcqkUUDjO0AGB\r\nBDpjPuFiOrJX++nV+eNGvOFdgoLM7LCQ+W/hlebTvYLqc9887QuavZfokzW3\r\nbuFORM5cZ0MWdcwldvJfi3Nsa45n1lIkUqiGzZzf3zgJ2d/C6Ed1oyLchbP6\r\nRZkuxUwo5c23miybFHY6czI1A17j3QC1dSN8MNfTai1ebLA2F2H3SCqAFIzN\r\nnWVn8hLKdA7kJe87Cpq1qSzk6PttMTmgm+4Rxd9FHQS2pvECFuLyXmpjKV6L\r\nN7ogQKNBPz6g0EvIy+DkZiyVDXJASwCXTi23etLI4O61LfmqeAMqSqmVxLIM\r\nSDPiFwRBy7xbIYJo7MheDajeEFdxThFOye4=\r\n=OPoU\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cheton","email":"cheton@gmail.com"},"directories":{},"maintainers":[{"name":"cheton","email":"cheton@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-electron_2.2.2_1676982204835_0.7278019113503553"},"_hasShrinkwrap":false}},"homepage":"https://github.com/cheton/is-electron","keywords":["atom","electron","renderer","process"],"repository":{"type":"git","url":"git@github.com:cheton/is-electron.git"},"license":"MIT","readmeFilename":"README.md","author":{"name":"Cheton Wu","email":"cheton@gmail.com"},"users":{"xinwangwang":true,"trendmicro-frontend":true,"cheton":true,"rocket0191":true,"yuanchuan":true,"kontrax":true}}