1.1.0 • Published 5 years ago

download-crx v1.1.0

Weekly downloads
207
License
ISC
Repository
github
Last release
5 years ago

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