download-crx

Download crx from Chrome WebStore


Keywords
crx, chrome, extension, download
License
ISC
Install
npm install download-crx@1.1.0

Documentation

download crx

tool for downloading crx files from Chrome Webstore

how to

install

npm install download-crx

Usage as npm-module

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

download-crx --url https://chrome.google.com/webstore/detail/{item-id} --name my-extension