pdfmake
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/pdfmake package

0.2.20 • Public • Published

pdfmake Node.js CI GitHub npm Bower Packagist CDNJS

PDF document generation library for server-side and client-side usage in pure JavaScript.

Check out the playground and examples.

Features

  • line-wrapping,
  • text-alignments (left, right, centered, justified),
  • numbered and bulleted lists,
  • tables and columns
    • auto/fixed/star-sized widths,
    • col-spans and row-spans,
    • headers automatically repeated in case of a page-break,
  • images and vector graphics,
  • convenient styling and style inheritance,
  • page headers and footers:
    • static or dynamic content,
    • access to current page number and page count,
  • background-layer,
  • page dimensions and orientations,
  • margins,
  • custom page breaks,
  • font embedding,
  • support for complex, multi-level (nested) structures,
  • table of contents,
  • helper methods for opening/printing/downloading the generated PDF,
  • setting of PDF metadata (e.g. author, subject).

Documentation

Documentation URL: https://pdfmake.github.io/docs/

Building from sources version 0.2.x

using npm:

git clone --branch 0.2 https://github.com/bpampuch/pdfmake.git
cd pdfmake
npm install
npm run build

using yarn:

git clone --branch 0.2 https://github.com/bpampuch/pdfmake.git
cd pdfmake
yarn
yarn run build

License

MIT

Authors

pdfmake is based on a truly amazing library pdfkit (credits to @devongovett).

Thanks to all contributors.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.2.2054,916latest
0.3.0-beta.1810,216beta

Version History

VersionDownloads (Last 7 Days)Published
0.3.0-beta.1810,216
0.2.2054,916
0.3.0-beta.17390
0.3.0-beta.16153
0.2.1979,939
0.3.0-beta.15343
0.2.18178,028
0.3.0-beta.14131
0.2.173,467
0.3.0-beta.130
0.2.164,356
0.3.0-beta.120
0.2.1535,975
0.3.0-beta.110
0.2.1414,620
0.3.0-beta.100
0.2.1324,589
0.2.1238,689
0.3.0-beta.96
0.2.115,297
0.3.0-beta.8660
0.2.10107,518
0.3.0-beta.794
0.2.939,942
0.3.0-beta.6198
0.2.823,505
0.3.0-beta.5276
0.3.0-beta.40
0.2.7101,409
0.3.0-beta.338
0.2.69,170
0.3.0-beta.293
0.2.554,821
0.3.0-beta.172
0.2.421,082
0.2.3226
0.2.213,266
0.2.155
0.2.0616
0.1.7298,071
0.1.7111,320
0.1.704,869
0.1.69394
0.1.6810,632
0.1.67299
0.1.664,098
0.1.659,119
0.1.641,077
0.1.63777
0.1.62297
0.1.61115
0.1.60510
0.1.5972
0.1.58645
0.1.57675
0.1.561,109
0.1.5549
0.1.54491
0.1.53492
0.1.521
0.1.5141
0.1.5095
0.1.41167
0.1.40152
0.1.39383
0.1.38224
0.1.37345
0.1.361,076
0.1.358,708
0.1.34136
0.1.33106
0.1.3281
0.1.3188
0.1.306
0.1.293
0.1.2817
0.1.2713
0.1.2623
0.1.25354
0.1.2436
0.1.238
0.1.2223
0.1.1862
0.1.176
0.1.142
0.1.132
0.1.113
0.1.104
0.1.86
0.1.74
0.1.66
0.1.59
0.1.45
0.1.36
0.1.24
0.0.122
0.0.115
0.0.104
0.0.96
0.0.86
0.0.78
0.0.64
0.0.51
0.0.414
0.0.45
0.0.36
0.0.25
0.0.114

Package Sidebar

Install

npm i pdfmake

Homepage

pdfmake.org

Weekly Downloads

981,542

Version

0.2.20

License

MIT

Unpacked Size

13.6 MB

Total Files

37

Last publish

Collaborators

  • bpampuch
  • danawoodman
  • miltador
  • liborm85