p-kuen / pdf-lib-builder Goto Github PK
View Code? Open in Web Editor NEWA content builder based on pdf-lib
License: MIT License
A content builder based on pdf-lib
License: MIT License
Hi, amazing library that you have wrote here!!
import {readFileSync} from 'fs'
will prevent a user from deploying this to a service like Cloudflare workers. I think it would good to remove the dependency and jut have the function on accept a type of PDFImage
Hi thanks for the quick reason! I think I found a bug. I believe this should use the top
margin.
https://github.com/p-kuen/pdf-lib-builder/blob/main/src/main.ts#L518
/**
* Resets the position to the top left of the page.
*/
resetPosition() {
this.moveTo(this.options.margins.left, this.options.margins.right)
}
hello, looks like there is a regression bug with the 3.0.0 update.
This happens with passing a PDFImage into the image function like in the example.
Hello again! Wondering if you would consider adding a license to this repository. I know many developer wont touch a package unless it has some sort of a license. If you want to be permissive you can pick the MIT license.
https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.