Skip to content

homaily/serverless-chrome-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

GitHub @homaily · Twitter @homaily

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published