Skip to content
This repository has been archived by the owner on Dec 18, 2022. It is now read-only.

hand-dot/labelmake

Repository files navigation

⚠️ labelmake has now stopped development. Please use pdfme. pdfme is a renewed version of labelmake which allows to use template designers as a UI library, improved documentation, etc. Of course, open source and MIT licensed.

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