{"id":13564267,"url":"https://github.com/MarshallOfSound/electron-devtools-installer","last_synced_at":"2025-04-03T21:30:35.758Z","repository":{"id":37677533,"uuid":"60691936","full_name":"MarshallOfSound/electron-devtools-installer","owner":"MarshallOfSound","description":"An easy way to ensure Chrome DevTools extensions into Electron","archived":false,"fork":false,"pushed_at":"2023-12-06T18:39:27.000Z","size":612,"stargazers_count":1124,"open_issues_count":72,"forks_count":137,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-10-29T15:19:23.989Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MarshallOfSound.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-06-08T11:08:33.000Z","updated_at":"2024-10-29T13:44:02.000Z","dependencies_parsed_at":"2023-01-26T13:01:53.206Z","dependency_job_id":"7c9740db-5f6b-485a-8771-19a7d738e770","html_url":"https://github.com/MarshallOfSound/electron-devtools-installer","commit_stats":{"total_commits":103,"total_committers":22,"mean_commits":4.681818181818182,"dds":0.3106796116504854,"last_synced_commit":"65ffa894bf635745d9399e79fb38682ccfd9c6e0"},"previous_names":["gpmdp/electron-devtools-installer"],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarshallOfSound%2Felectron-devtools-installer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarshallOfSound%2Felectron-devtools-installer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarshallOfSound%2Felectron-devtools-installer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarshallOfSound%2Felectron-devtools-installer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarshallOfSound","download_url":"https://codeload.github.com/MarshallOfSound/electron-devtools-installer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247033806,"owners_count":20872532,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T13:01:28.957Z","updated_at":"2025-04-03T21:30:35.513Z","avatar_url":"https://github.com/MarshallOfSound.png","language":"TypeScript","readme":"Electron DevTools Installer\n---------------------------\n\n![CircleCI](https://img.shields.io/circleci/build/github/MarshallOfSound/electron-devtools-installer?style=for-the-badge)\n[![npm](https://img.shields.io/npm/v/electron-devtools-installer?style=for-the-badge)](https://www.npmjs.com/package/electron-devtools-installer)\n![npm](https://img.shields.io/npm/dt/electron-devtools-installer?style=for-the-badge)\n[![license](https://img.shields.io/github/license/GPMDP/electron-devtools-installer.svg?maxAge=2592000\u0026style=for-the-badge)](https://github.com/GPMDP/electron-devtools-installer/blob/master/LICENSE)\n[![CFA Enabled](https://img.shields.io/badge/CFA-Enabled-success?style=for-the-badge)](https://github.com/continuousauth)\n\nThis is an easy way to install DevTool extensions into Electron.  You shouldn't\nhave to mess around with downloading the extension, finding the right folder and\nthen configuring the path for everyone's machines.\n\n## Install\n\n```\nnpm install electron-devtools-installer --save-dev\n```\nor\n```\nyarn add electron-devtools-installer -D\n```\n\n## Usage\nAll you have to do now is this in the **main** process of your application.\n\n```js\nimport installExtension, { REDUX_DEVTOOLS } from 'electron-devtools-installer';\n// Or if you can not use ES6 imports\n/**\nconst { default: installExtension, REACT_DEVELOPER_TOOLS } = require('electron-devtools-installer');\n*/\nconst { app } = require('electron');\n\napp.whenReady().then(() =\u003e {\n    installExtension(REDUX_DEVTOOLS)\n        .then((name) =\u003e console.log(`Added Extension:  ${name}`))\n        .catch((err) =\u003e console.log('An error occurred: ', err));\n});\n```\nTo install multiple extensions, `installExtension` takes an array.\n\n## What extensions can I use?\n\nTechnically you can use whatever extension you want.  Simply find the ChromeStore ID\nof the extension you want to install, and call `installExtension('YOUR_ID_HERE')`.  We\noffer a few extension ID's inside the package so you can easily import them to install without\nhaving to find them yourselves.\n\n```js\nimport installExtension, {\n  EMBER_INSPECTOR, REACT_DEVELOPER_TOOLS,\n  BACKBONE_DEBUGGER, JQUERY_DEBUGGER,\n  ANGULARJS_BATARANG, VUEJS_DEVTOOLS,\n  VUEJS3_DEVTOOLS, REDUX_DEVTOOLS,\n  CYCLEJS_DEVTOOL, MOBX_DEVTOOLS,\n  APOLLO_DEVELOPER_TOOLS,\n} from 'electron-devtools-installer';\n```\n\n## How does it work?\n\nWell, you know those steps over in the [Electron Docs](https://github.com/electron/electron/blob/master/docs/tutorial/devtools-extension.md)\nthat involve downloading, copying, checking paths, Etc.\n\nThis does all of that for you, it downloads the chrome extension directly from\nthe Chrome WebStore.  Then it extracts it to your applications `userData` directory\nbefore loading it into Electron.\n\n\nLicense\n-------\n\nThe MIT License (MIT)\n\nCopyright (c) 2016 Samuel Attard\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject 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, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","funding_links":[],"categories":["TypeScript","Libraries and Tools"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMarshallOfSound%2Felectron-devtools-installer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMarshallOfSound%2Felectron-devtools-installer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMarshallOfSound%2Felectron-devtools-installer/lists"}