Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

pdfmake-wrapper

Lugriz8.6kMIT2.1.3TypeScript support: included

Wrapper based on pdfmake library to generate PDF documents in an easy and readable way.

pdfmake, pdfmake wrapper, pdf, generate pdf, pdf, document, pdf-generation, typescript, javascript

readme

Pdfmake-wrapper

Pdfmake-wrapper logo

license version github actions

This library written in Typescript is a wrapper based on pdfmake to generate PDF documents in an easy and readable way.


Go to the new documentation website pdfmakewrapper.org. You can check pdf examples from the original pdfmake repository here.

Contribution

If you are interested to contribute to this library, please, check the contribution file here.

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.1.3 (2022-05-16)

Bug Fixes

  • chore: add linter in pre-commit (139f931)
  • table: fix heights parameter function type (68d00c8)

2.1.2 (2021-07-04)

This version was built using pdfmake v0.1.x

New features:

  • add lineHeight & characterSpacing
  • add changelog
  • improve contribution file
  • add badges to documentation
  • add commitlint and husky

2.1.1 (2020-12-13)

This version was built using pdfmake v0.1.68

New features and future changes:

  • You can access to the interfaces.
  • Server-side support
  • Code comment snippets
  • ln() method will be deprecated in the next version

NOTE: Don't install the previous version (2.1.0), it might not work as expected due to NPM mistake.

2.1.0 (2020-12-13)

This version was built using pdfmake v0.1.68

New features and future changes:

  • You can access to the interfaces.
  • Server-side support
  • Code comment snippets
  • ln() method will be deprecated in the next version

2.0.0 (2019-10-12)

New features:

  • pdfmake needs to be installed on your own.
  • Custom fonts.
  • Icons support.
  • styles and defaultStyle methods implement IStyleDefinition interface to help to define the styles correctly.
  • width and height methods allow string options ('*', 'auto', '10%').
  • Relative and absolute positions are available
  • Drawing shapes using Canvas class.
  • Adding svg in the PDF.
  • Security implementing passwords and permissions.

1.0.7 (2019-10-04)

First release