Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/acvetkov/download-crx
https://github.com/acvetkov/download-crx
Last synced: about 16 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/acvetkov/download-crx
- Owner: acvetkov
- Created: 2016-06-16T13:22:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-03-27T09:31:18.000Z (over 5 years ago)
- Last Synced: 2024-10-25T11:49:48.649Z (9 days ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 20
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- awesome-browser-extensions-and-apps - download-crx - npm package to dowload CRX from Chrome Web Store by id. (Tools / Publishing)
README
## download crx
tool for downloading crx files from Chrome Webstore
### how to
install
```bash
npm install download-crx
```Usage as npm-module
```js
import * as downloadCRX from 'download-crx';downloadCRX.download('https://chrome.google.com/webstore/detail/{item-id}')
.then(filePath => log(`crx is located in ${filePath}`));
downloadCRX.download('https://chrome.google.com/webstore/detail/{item-id}', __dirname, 'extension-custom-name')
.then(filePath => log(`crx is located in ${filePath}`));
downloadCRX.downloadById('{item-id}')
.then(filePath => log(`crx is located in ${filePath}`));
```Usage as cli tool
```bash
download-crx --url https://chrome.google.com/webstore/detail/{item-id} --name my-extension
```