chrome-aws-lambda
GitHub describes it as Chromium Binary for AWS Lambda and Google Cloud Functions. The repository metadata lists TypeScript as its primary language. The metadata lists the MIT license. This article stays within the project description and details documented in the GitHub repository README.
alixaxel/chrome-aws-lambda: Install
GitHub describes it as Chromium Binary for AWS Lambda and Google Cloud Functions. The repository metadata lists TypeScript as its primary language. The metadata lists the MIT license. This article stays within the project description and details documented in the GitHub repository README.
Repository scope
GitHub describes it as Chromium Binary for AWS Lambda and Google Cloud Functions. The repository metadata lists TypeScript as its primary language. The metadata lists the MIT license. The README describes the project this way: This will ship with appropriate binary for the latest stable release of puppeteer (usually updated within a few days).
Usage
The README section "Usage" states: This package works with all the currently supported AWS Lambda Node.js runtimes out of the box.
Usage with Playwright
The README section "Usage with Playwright" states: You should allocate at least 512 MB of RAM to your Lambda, however 1600 MB (or more) is recommended.
API
The README section "API" states: | Method / Property | Returns | Description | | ----------------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | | font(url) | {?Promise } | Provisions a custom font and returns its basename. | | args | {!Array } | Provides a list of recommended additional Chromium flags. | | defaultViewport | {!Object} | Returns more sensible default viewport settings. | | executablePath | {?Promise } | Returns the path the Chromium binary was extracted to. | | headless | {!boolean} | Returns true if we are running on AWS Lambda or GCF. | | puppeteer | {!Object} | Overloads puppeteer and returns the resolved package. |
Editorial conclusion
The repository README is the source for this review. It does not replace a local installation or an independent test.
Community notes