2.0.0 • Published 5 years ago

@modernice/pdfire v2.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

PDFire Node

GitHub

This package provides a client for the PDFire.io API. Read the Documentation for a list of available options.

Installation

npm install --save @modernice/pdfire

or

yarn add @modernice/pdfire

Basic usage

import pdfire, { ConversionParams } from 'pdfire'

const pdf = await pdfire('YOUR-API-KEY')
    .conversion()
    .url('https://google.com')
    .margin(0)
    .format('A4')
    .getResult()

await pdf.saveTo('/path/on/disk.pdf')

License

MIT

2.0.0

5 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago