Skip to content

Commit

Permalink
PACKAGE adjust readme
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreKelling committed Feb 16, 2024
1 parent a473868 commit 231ccae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions dist/README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# jsPDF Product Label
# jsPDF Product Label 54 x 70 mm

It shall get used for a DYMO 36x89mm label printer.
It shall get used for a DYMO 54x70mm label printer.

Here there is a [demo](https://andrekelling.github.io/jspdf-template-labelprint/) how that print is looking like.

It does not work as an ES module in node.js, because JsPDF has an [issue](https://github.com/parallax/jsPDF/issues/783). So it is primarily for bundling into JS for the browser.

## Install

1. `npm i jspdf-product-label -S`
1. `npm i jspdf-product-label-54x70 -S`

## Usage

Should look like this:

```
import { printPDF } from "jspdf-product-label";
import { printPDF } from "jspdf-product-label-54x70";
document.querySelector(".js-print-pdf").addEventListener("click", function() {
/**
Expand Down
2 changes: 1 addition & 1 deletion dist/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jspdf-product-label-54x70",
"version": "1.2.0",
"version": "1.2.1",
"main": "src/app.js",
"author": "André Kelling",
"description": "Dymo Label PDF printing 54 x 70mm.",
Expand Down

0 comments on commit 231ccae

Please sign in to comment.