Skip to content

kou-by/emochan-browser-shot

Repository files navigation

emochan browser shot

CI npm

generate dynamic images via chrome-aws-lambda

Usage

import { getScreenshot } from 'emochan-browser-shot';

const capture = await getScreenshot(htmlString, {
  width: 1920,
  height: 1008,
  deviceScaleFactor: 1,
});