文件名称:aws-puppeteer-lambda:允许puppeteer v1.4.0在AWS Lambda环境中运行的工具
文件大小:41.02MB
文件格式:ZIP
更新时间:2024-06-06 07:51:22
JavaScript
布袋戏人兰达(Puppeteer Lambda) 在AWS Lambda环境中执行脚本。 用法 const puppeteer = require ( 'puppeteer' ) const { extract , cleanup } = require ( 'aws-puppeteer-lambda' ) ; ( async ( ) => { // Extract the headless chrome executable and return its path. // If a previous Lambda invocation has extracted the executable, it will be reused. const executablePath = await extract ( ) // Initialize a new browser
【文件预览】:
aws-puppeteer-lambda-master
----.eslintrc(371B)
----src()
--------headless_shell_r555668.zip(41.13MB)
--------extract.js(281B)
--------paths.js(270B)
--------cleanup.js(206B)
----test()
--------index.js(1KB)
----README.md(1KB)
----.gitignore(13B)
----index.js(94B)
----package-lock.json(21KB)
----package.json(637B)