/labelmake

Declarative style JavaScript PDF generator library. Works on Node and the browser 🖨︎

Primary LanguageTypeScriptMIT LicenseMIT

Tweet npm NPM npm Unit Testing

top

labelmake is a declarative style PDF generation library for Node and the browser.

Other PDF generation libraries makes program complex by imperative operations. So, I developed this library aiming at a more simple declarative style PDF generation library. Finally, the layout engine and design & code generator tools make PDF generation so easy!

Learn more at official website


Installation

Use npm to install the latest version.

npm install labelmake

You can use Yarn, NuGet or other methods as well. You can load it directly from jsDelivr.

Features

  • Input data supports the following input types.
    • Text
      • Custom font
      • Styling(size, color, aliginment, etc.)
    • Image
      • JPG
      • PNG
    • Barcode
      • QR Code
      • Japan Post 4 State Customer Code
      • EAN-8, EAN-13
      • Code 39, Code 128
      • Codabar(NW-7)
      • UPC-E, UPC-A

example

template-design

Templates can be customized with design tools. and code can be generated with a generator.

api

Detailed specifications can be found in the api documentation.

production

labelmake.jp - variable data printing service.(Japanese)

Author

@hand-dot

labelmake is based on a amazing library pdf-lib(@Hopding).

Thanks to all contributors.

License

MIT