pdf-lib
docx
Our great sponsors
pdf-lib | docx | |
---|---|---|
23 | 11 | |
6,238 | 3,926 | |
- | - | |
0.0 | 9.0 | |
3 months ago | 19 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pdf-lib
-
Launch HN: Onedoc (YC W24) – A better way to create PDFs
I'm facing that same pain point of programmatic PDF filling. I noodled around in the PDF format and learned it's a bit difficult to deal with fonts and formatting. But I think this client-side library works well enough, as a start: https://pdf-lib.js.org/#:~:text=a%20single%20document.-,Fill...
I've also heard of one paid API that I forgot but seemed to work well, and this related service https://www.jotform.com/, and I also considered porting some server-side libraries to WASM. One day I'll collect all the libraries and findings in a blog post.
Are you looking to programmatically fill any PDF form by detecting the fields? Or are you filling one known PDF template?
-
Show HN: PrivatePDF – minimal PDF editor that runs in the browser
Thanks! For PDF form filling, I use the APIs that pdf-lib [0] exposes. That includes text fields, checkboxes, radio buttons, dropdowns and options lists. Give it a try and let me know if you find a type of form field that's missing.
[0] https://github.com/Hopding/pdf-lib
-
Thinking of throwing in the towel and hiring help - small website business
I do not know if some plugin exists, but maybe you have to take a look at https://pdf-lib.js.org/
- Does no one use PDF files anymore?? In need of a PDF generator package...
-
Is node the right choice for HTML to PDF conversion?
PDFmake or pdf-lib would be the way to go in my opinion.
-
I made a free PDF editor that works in your browser
Sure! You can build your own PDF editor with a combination of PDF.js and PDF-lib
-
I built a wrapper to easily embed my PDF editor (SimplePDF) in any React app!
I stand on the shoulders of giants, namely PDF-lib, PDF-js and React-beautiful-DND – everything else is pretty much custom code.
- PDF editing - client side with canvas or on server?
-
How can I use PDF-Lib in Cloudflare Workers?
How one can use a library such as PDF-Lib (npm, website) that:
-
PDF Library
I built my side-project https://pdfvise.com/ using https://pdf-lib.js.org/ for pdf manipulations.
docx
- Ajuda docx
- A próxima etapa de um aplicativo da Web que automatiza a produção de documentos legais
-
The next step of a web application that automates the production of legal documents
Since I don't have much knowledge of web development, the application has a very basic structure: html + css + javascript. To generate the document, I use a library called docx.js (https://docx.js.org). When the user clicks to submit the form, the request is passed to a function in the main file (app.js), which , through conditional logic, assembles the document using docx.js.
-
Any idea why this Node.js code doesn't work?
Looks like this library wasn't meant to open existing files: https://github.com/dolanmiu/docx/issues/1513
-
Is there some way in which I can render Word documents in a browser using an Angular application
Had such requirement in the past, this worked well https://docx.js.org/
-
Limitations of vba for mac
Honestly with this brief I'd avoid Ruby/Python and go straight with JavaScript. UIs with javascript are pretty easy, and there are great libraries out there like https://github.com/dolanmiu/docx which make it relatively easy to edit word documents.
-
What documentation conversion tool/library you use?
For Excel it's much easier to convert your raw data to CSV than to put it into an HTML document and then extract it back out again. Similarly for .docx format, you're probably better off using a package like docx and building the document in a way more suited to the file format than trying to smush HTML into a new format.
- Creating pdf, docx document in vanilla
- Docx JS Adding a watermark
- Generating microsoft word file from js
What are some alternatives?
PDFKit - A JavaScript PDF generation library for Node and the browser
javascript-obfuscator - A powerful obfuscator for JavaScript and Node.js
puppeteer - Node.js API for Chrome
vscode-maven - VSCode extension "Maven for Java"
PyPDF4 - A utility to read and write PDFs with Python
tsdav - WebDAV, CALDAV, and CARDDAV client for Nodejs and the Browser
qpdf - QPDF: A content-preserving PDF document transformer
pure-react-ssr-hmr - React SSR Typescript template with Hot Module Replacement support
PDF.js - PDF Reader in JavaScript
passport-magic-login - Passwordless authentication with magic links for Passport.js.
markdown-preview-enhanced - One of the 'BEST' markdown preview extensions for Atom editor!
labelmake - labelmake has moved and now available at pdfme / https://github.com/pdfme/pdfme