1.0.5 • Published 3 years ago

site-print v1.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Easily print any web page and save it to a .png image file

Installation

npm install site-print

or

yarn add site-print

Examples

import { printSite } from 'site-print';

printSite({
  url: 'https://www.youtube.com',
});

// print site full page on mobile
printSite({
  url: 'https://www.facebook.com',
  defaultViewport: { width: 320, height: 480 },
  mobile: true,
  fullPage: true,
  path: './facebook.png',
});

// print site full page on desktop
printSite({
  url: 'https://www.google.com',
  defaultViewport: { width: 1920, height: 1080 },
  path: './google.png',
});
1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago