Skip to content

saasify-sh/puppeteer-serverless

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

puppeteer-serverless

Puppeteer for AWS Lambda that also works for local development.

Puppeteer Logo

NPM Build Status JavaScript Style Guide

Install

npm i --save puppeteer-serverless

Usage

Use just like normal puppeteer:

import puppeteer from 'puppeteer-serverless'

const browser = await puppeteer.launch()
const page = await browser.newPage()

If NODE_ENV is set to development, it will use your local install of Chrome located at:

  • MacOS: /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
  • win32: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

License

MIT © Saasify

About

Puppeteer for both serverless functions and development.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published