Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

download-crx

acvetkov575ISC1.1.0

Download crx from Chrome WebStore

crx, chrome, extension, download

readme

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