Skip to content

Commit

Permalink
feat: set producer and creation date
Browse files Browse the repository at this point in the history
  • Loading branch information
mojoaxel committed Aug 26, 2022
1 parent 1c89f49 commit faac7dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ class PDFMerger {
async _ensureDoc () {
if (!this.doc) {
this.doc = await PDFDocument.create()
this.doc.setProducer('pdf-merger-js')
this.doc.setCreationDate(new Date())
}
}

Expand Down

0 comments on commit faac7dc

Please sign in to comment.