Skip to content

Commit fa44417

Browse files
committed
Update package name
1 parent fbff09d commit fa44417

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ html2pdf converts any webpage or element into a printable PDF entirely client-si
66

77
There are two ways to install html2pdf:
88

9-
1. **NPM:** Use `npm install --save html2pdf` to add html2pdf and its dependencies to your project.
9+
1. **NPM:** Use `npm install --save html2pdf.js` to add html2pdf and its dependencies to your project.
1010
2. **HTML:** Download `dist/html2pdf.bundle.min.js` to your project folder and include it in your HTML with: `<script src="html2pdf.bundle.min.js"></script>`.
1111

1212
Once installed, html2pdf is ready to use. This command will generate a PDF of `#element-to-print` and prompt the user to save the result:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "html2pdf",
2+
"name": "html2pdf.js",
33
"version": "0.8.0",
44
"description": "Client-side HTML-to-PDF rendering using pure JS",
55
"main": "dist/require/html2pdf.cjs.js",

0 commit comments

Comments
 (0)