PDF-LIB
Create and modify PDF documents in any JavaScript environment
...Works in any JavaScript runtime, including browsers, Node, Deno, and even React Native. Add, insert, and remove pages. Split a single PDF into separate ones. Or merge multiple PDFs into a single document. Create new forms or fill and read existing fields. Checkboxes, buttons, radio groups, dropdowns, option lists, and text fields are all supported. If you aren't using a package manager, UMD modules are available on the unpkg and jsDelivr CDNs. Note that only some PDF readers can view attachments. This includes Adobe Reader, Foxit Reader, and Firefox. ...