MCPcopy Create free account
hub / github.com/foliojs/pdfkit / create

Method create

lib/security.js:33–38  ·  view source on GitHub ↗
(document, options = {})

Source from the content-addressed store, hash-verified

31 }
32
33 static create(document, options = {}) {
34 if (!options.ownerPassword && !options.userPassword) {
35 return null;
36 }
37 return new PDFSecurity(document, options);
38 }
39
40 constructor(document, options = {}) {
41 if (!options.ownerPassword && !options.userPassword) {

Callers 6

constructorMethod · 0.80
eachWordMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
security.spec.jsFile · 0.80
pdf2pngFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected