pdfb
v0.1.4
Published
A pdf building library for nodejs
Downloads
147
Maintainers
Readme
PDFB
A pdf building library for nodejs hehe.
!! DOCUMENTATION IN PROGRESS !!
TODO
- [x] PdfBuilder
- [x] save document
save(options?: { render: true, savePath: '' })
- [ ] Save path setters / getters
setSavePath(path: string): string; getSavePath(): string;
DONE
[x]
Section.class
calculate start, end, size based of the elements inside- basically a way of creating a wrapper (background) that covers all elements of a section
[x]
Page
- Stores individual page data
Section[]
PdfBuilder.class
stores a page arrayPage[]
[x] Fix padding handling inside
PdfBuilder
- Padding should affect the document start/end positions