Package Exports
- serverless-chrome-downloader
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (serverless-chrome-downloader) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
serverless-chrome-downloader
Serverless Chrome Downloader. The aim of this project is to automate discovering and downloading the latest build of Serverless Headless Chrome which built specifically for serverless environments such as AWS Lambda.
Install
npm install serverless-chrome-downloader --save-dev
Usage
const chromeDownloader = require('serverless-chrome-downloader')
chromeDownloader(
'./vendor/headless_chrome', // Location (required). The path to save the headless chrome binary
'stable', // Channel (optional, default is stable). One of: stable, beta or dev
'adieuadieu/serverless-chrome' // Github repo to download from (optional)
)
Command Line Usage
npx serverless-chrome-downloader [download-path] [channel] [repo-name]
- [download-path] Where to download the chrome binary (Required).
- [channel] Channel to download (stable | beta | dev). (Optional, default is stable).
- [repo-name] Github repo to download from (Optional, default is adieuadieu/serverless-chrome).
License
serverless-chrome-downloader released under the MIT license.
Authored and maintained by Abdulaziz Homaily with help from contributors.