@web-printer/core
TypeScript icon, indicating that this package has built-in type declarations

0.4.0 • Public • Published

@web-printer/core

The core of Web Printer, you can use it to create your own printer with plugins to print website you want.

Usage

import { Printer, type Plugin } from "@web-printer/core"
import type { Plugin, PrinterOption, PrinterPrintOption } from "@web-printer/core"

new Printer({} as PrinterOption)
  .use({} as Plugin)
  .print("PDF name", {} as PrinterPrintOption)

License

MIT ©

Readme

Keywords

none

Package Sidebar

Install

npm i @web-printer/core

Weekly Downloads

11

Version

0.4.0

License

MIT

Unpacked Size

3.74 MB

Total Files

6

Last publish

Collaborators

  • ourongxing