{"_id":"pdf-rfc3161","_rev":"8-7b413ec014e0cce57d81fc0e79277e0c","name":"pdf-rfc3161","dist-tags":{"beta":"0.0.1","latest":"0.2.1"},"versions":{"0.0.1":{"name":"pdf-rfc3161","version":"0.0.1","keywords":["pdf","timestamp","rfc3161","tsa","pades","ltv","digital-signature","cloudflare-workers","edge"],"author":{"name":"Denis Mingulov","email":"denis@mingulov.com"},"license":"MIT","_id":"pdf-rfc3161@0.0.1","maintainers":[{"name":"denis0","email":"denis@mingulov.com"}],"homepage":"https://github.com/mingulov/pdf-rfc3161#readme","bugs":{"url":"https://github.com/mingulov/pdf-rfc3161/issues"},"dist":{"shasum":"69abc332b5c961e0bc11ed39a3341dd45ea6f18e","tarball":"https://registry.npmjs.org/pdf-rfc3161/-/pdf-rfc3161-0.0.1.tgz","fileCount":2,"integrity":"sha512-NQCBdLtDcAu3i0+xRVA9nyreSSH8jxAhjq/NAkgFchJMayW6epiJ/3DfFRO7CvkXUbnVVOnv1PmpzBx5WTHeAw==","signatures":[{"sig":"MEUCIF1gLfTPsuQ7NlJaodskxmkw49rsFv7RZWTy1wzaDCzfAiEAqHRSL69oUHWCwyVYPBR5IP5RkNKvIgsxj9Vr+A/kXoM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":820},"main":"index.js","type":"module","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"denis0","email":"denis@mingulov.com"},"repository":{"url":"git+https://github.com/mingulov/pdf-rfc3161.git","type":"git"},"_npmVersion":"11.6.2","description":"A pure JS library to add RFC 3161 trusted timestamps to PDFs. Edge-ready, works in Node.js, Cloudflare Workers, and Browsers without native dependencies.","directories":{},"_nodeVersion":"24.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/pdf-rfc3161_0.0.1_1767819257804_0.4098401116723436","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"pdf-rfc3161","version":"0.1.0","keywords":["pdf","timestamp","rfc3161","tsa","pades","ltv","digital-signature","cloudflare-workers","edge"],"author":{"name":"Denis Mingulov","email":"denis@mingulov.com"},"license":"MIT","_id":"pdf-rfc3161@0.1.0","maintainers":[{"name":"denis0","email":"denis@mingulov.com"}],"homepage":"https://github.com/mingulov/pdf-rfc3161#readme","bugs":{"url":"https://github.com/mingulov/pdf-rfc3161/issues"},"bin":{"pdf-rfc3161":"dist/cli.cjs"},"dist":{"shasum":"cb0fc3aac09a07d2bee0555d3b09077cf81af058","tarball":"https://registry.npmjs.org/pdf-rfc3161/-/pdf-rfc3161-0.1.0.tgz","fileCount":11,"integrity":"sha512-8fJN5evhZA4+2yQB3RmVZVU2V3Ghxh+GCERN3X5BTtobTfBhrcN3+2VhmZcHJ/F8Y+jwHd5u1e3BlOgBfi2mTQ==","signatures":[{"sig":"MEUCIQCaNXSYglyEQi/p97MAgSxhALARE542k54vXQeAiz0rfQIgJwfIts9tvMn9GttJVGcraYh18RfwIBC5Ogo78BU9TbI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":915341},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"f7e68f8005d95bce110ef039aa2170cba2850bc5","scripts":{"cli":"tsx src/cli/cli.ts","dev":"tsup --watch","lint":"eslint src test","test":"vitest run","build":"tsup","format":"prettier --write \"src/**/*.ts\" \"test/**/*.ts\"","lint:fix":"eslint src test --fix","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check \"src/**/*.ts\" \"test/**/*.ts\"","security:sbom":"npx -y @cyclonedx/cdxgen -o sbom.json","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build","security:audit":"npm audit --audit-level=moderate","test:robustness":"npx tsx scripts/test-robustness.ts","test:integration":"vitest run test/integration"},"_npmUser":{"name":"denis0","email":"denis@mingulov.com"},"repository":{"url":"git+https://github.com/mingulov/pdf-rfc3161.git","type":"git"},"_npmVersion":"11.6.2","description":"A pure JS library to add RFC 3161 trusted timestamps to PDFs. Edge-ready, works in Node.js, Cloudflare Workers, and Browsers without native dependencies.","directories":{},"_nodeVersion":"24.12.0","dependencies":{"pkijs":"^3.2.4","asn1js":"^3.0.5","pvutils":"^1.1.3","pdf-lib-incremental-save":"^1.17.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.1","eslint":"^9.17.0","vitest":"^4.0.16","prettier":"^3.4.2","commander":"^14.0.2","@eslint/js":"^9.17.0","typescript":"^5.3.3","@types/node":"^20.11.0","typescript-eslint":"^8.19.0","@vitest/coverage-v8":"^4.0.16","eslint-plugin-security":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/pdf-rfc3161_0.1.0_1767903897881_0.12291139816419627","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"pdf-rfc3161","version":"0.1.1","keywords":["pdf","timestamp","rfc3161","tsa","pades","ltv","digital-signature","cloudflare-workers","edge"],"author":{"name":"Denis Mingulov","email":"denis@mingulov.com"},"license":"MIT","_id":"pdf-rfc3161@0.1.1","maintainers":[{"name":"denis0","email":"denis@mingulov.com"}],"homepage":"https://github.com/mingulov/pdf-rfc3161#readme","bugs":{"url":"https://github.com/mingulov/pdf-rfc3161/issues"},"bin":{"pdf-rfc3161":"dist/cli.cjs"},"dist":{"shasum":"e1d8361d30581e8b83c90f9e7331b6c41a0216d4","tarball":"https://registry.npmjs.org/pdf-rfc3161/-/pdf-rfc3161-0.1.1.tgz","fileCount":11,"integrity":"sha512-zBAN8vM4LCkN9W5k7Iu1XnLBY7thE3iIlRDzHfO7qLkhII8eo1fHjIfqRDNDOimR8MLxuqNjaFNgEN1oMAFYiw==","signatures":[{"sig":"MEUCIQCXYxgeO5wxtXt9o0JfEuvBuiHw97oQON0xDKCI52pyUQIgUSTEVa2ZGb6J1BYKayoUPcem7vhfPI6vFaQbY2BCIBM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":940673},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"ace56ed4e4e733528d6c7d12db0c214f3fc99196","scripts":{"cli":"tsx src/cli/cli.ts","dev":"tsup --watch","lint":"eslint src test","test":"vitest run","build":"tsup","format":"prettier --write \"src/**/*.ts\" \"test/**/*.ts\"","lint:fix":"eslint src test --fix","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check \"src/**/*.ts\" \"test/**/*.ts\"","security:sbom":"npx -y @cyclonedx/cdxgen -o sbom.json","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build","security:audit":"npm audit --audit-level=moderate","test:robustness":"npx tsx scripts/test-robustness.ts","test:integration":"vitest run test/integration"},"_npmUser":{"name":"denis0","email":"denis@mingulov.com"},"repository":{"url":"git+https://github.com/mingulov/pdf-rfc3161.git","type":"git"},"_npmVersion":"11.6.2","description":"A pure JS library to add RFC 3161 trusted timestamps to PDFs. Edge-ready, works in Node.js, Cloudflare Workers, and Browsers without native dependencies.","directories":{},"_nodeVersion":"24.12.0","dependencies":{"pkijs":"^3.2.4","asn1js":"^3.0.5","pvutils":"^1.1.3","pdf-lib-incremental-save":"^1.17.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.1","eslint":"^9.17.0","vitest":"^4.0.16","prettier":"^3.4.2","commander":"^14.0.2","@eslint/js":"^9.17.0","typescript":"^5.3.3","@types/node":"^20.11.0","typescript-eslint":"^8.19.0","@vitest/coverage-v8":"^4.0.16","eslint-plugin-security":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/pdf-rfc3161_0.1.1_1767975939036_0.5787861222343851","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"pdf-rfc3161","version":"0.1.2","keywords":["pdf","timestamp","rfc3161","tsa","pades","ltv","digital-signature","cloudflare-workers","edge"],"author":{"name":"Denis Mingulov","email":"denis@mingulov.com"},"license":"MIT","_id":"pdf-rfc3161@0.1.2","maintainers":[{"name":"denis0","email":"denis@mingulov.com"}],"homepage":"https://github.com/mingulov/pdf-rfc3161#readme","bugs":{"url":"https://github.com/mingulov/pdf-rfc3161/issues"},"bin":{"pdf-rfc3161":"dist/cli.cjs"},"dist":{"shasum":"61f5d362ca86562d8e7cbd502f4029c7ee4b8b48","tarball":"https://registry.npmjs.org/pdf-rfc3161/-/pdf-rfc3161-0.1.2.tgz","fileCount":11,"integrity":"sha512-teAqlzuw4AsKKFzqvfZjkgcyHGQzhpe4YRv8MYgA89uN9U4Xyz22gcQxYBA/b1JaaSU6YO3vd4Em6qJa3oXbfw==","signatures":[{"sig":"MEQCIFcijF72kPAVoelMrAZoA2LvE/yi7tmijc5Swa8pDjHmAiBQ+XClVWhFC8MJw8gCdP6fTYKLXmSBN6WFXFmlZVtpTw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":925233},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"5135102355d14821030f6e20c3cad21c5dfe888a","scripts":{"cli":"tsx src/cli/cli.ts","dev":"tsup --watch","lint":"eslint src test","test":"vitest run","build":"tsup","format":"prettier --write \"src/**/*.ts\" \"test/**/*.ts\"","lint:fix":"eslint src test --fix","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check \"src/**/*.ts\" \"test/**/*.ts\"","security:sbom":"npx -y @cyclonedx/cdxgen -o sbom.json","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build","security:audit":"npm audit --audit-level=moderate","test:robustness":"npx tsx scripts/test-robustness.ts","test:integration":"vitest run test/integration"},"_npmUser":{"name":"denis0","email":"denis@mingulov.com"},"repository":{"url":"git+https://github.com/mingulov/pdf-rfc3161.git","type":"git"},"_npmVersion":"11.6.2","description":"A pure JS library to add RFC 3161 trusted timestamps to PDFs. Edge-ready, works in Node.js, Cloudflare Workers, and Browsers without native dependencies.","directories":{},"_nodeVersion":"24.12.0","dependencies":{"pkijs":"^3.2.4","asn1js":"^3.0.5","pvutils":"^1.1.3","pdf-lib-incremental-save":"^1.17.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.0.1","eslint":"^9.17.0","vitest":"^4.0.16","prettier":"^3.4.2","commander":"^14.0.2","@eslint/js":"^9.17.0","typescript":"^5.3.3","@types/node":"^20.11.0","typescript-eslint":"^8.19.0","@vitest/coverage-v8":"^4.0.16","eslint-plugin-security":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/pdf-rfc3161_0.1.2_1768051808265_0.1280571585297352","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"pdf-rfc3161","version":"0.1.3","keywords":["pdf","timestamp","rfc3161","tsa","pades","ltv","digital-signature","cloudflare-workers","edge"],"author":{"name":"Denis Mingulov","email":"denis@mingulov.com"},"license":"MIT","_id":"pdf-rfc3161@0.1.3","maintainers":[{"name":"denis0","email":"denis@mingulov.com"}],"homepage":"https://github.com/mingulov/pdf-rfc3161#readme","bugs":{"url":"https://github.com/mingulov/pdf-rfc3161/issues"},"dist":{"shasum":"ac003bbb2e9962a51ebe01c05a59256c5535de52","tarball":"https://registry.npmjs.org/pdf-rfc3161/-/pdf-rfc3161-0.1.3.tgz","fileCount":8,"integrity":"sha512-KzB+ch4/NHmeMKTr11MzYHdenT7LUuLDiMFkLhr2OFyfWKTrgmmIiBiGzui1FjmCw0j9BsIQsiQM1ZzxNy3Btg==","signatures":[{"sig":"MEUCIHbM0PJmGynzB08Zl7CdurwQ2snQv3qmvFjzEE2wixZQAiEA4w2wHT118mpvsfkfpCZs3a4VrUAXi5B+jPqRnXaJqVg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":953332},"main":"./dist/index.cjs","type":"module","_from":"file:pdf-rfc3161-0.1.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"tsup --watch","lint":"eslint src --fix","build":"tsup","format":"prettier --write \"src/**/*.ts\"","typecheck":"tsc --noEmit"},"_npmUser":{"name":"denis0","email":"denis@mingulov.com"},"_resolved":"/tmp/42b994fa8d96311ce3fea60497195635/pdf-rfc3161-0.1.3.tgz","_integrity":"sha512-KzB+ch4/NHmeMKTr11MzYHdenT7LUuLDiMFkLhr2OFyfWKTrgmmIiBiGzui1FjmCw0j9BsIQsiQM1ZzxNy3Btg==","repository":{"url":"git+https://github.com/mingulov/pdf-rfc3161.git","type":"git"},"_npmVersion":"11.6.2","description":"A pure JS library to add RFC 3161 trusted timestamps to PDFs. Edge-ready, works in Node.js, Cloudflare Workers, and Browsers without native dependencies.","directories":{},"_nodeVersion":"24.12.0","dependencies":{"pkijs":"^3.3.3","asn1js":"^3.0.7","pvutils":"^1.1.5","pdf-lib-incremental-save":"^1.17.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","eslint":"^9.39.2","prettier":"^3.7.4","@eslint/js":"^9.39.2","typescript":"^5.9.3","@types/node":"^25.0.6","typescript-eslint":"^8.53.0","eslint-plugin-security":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/pdf-rfc3161_0.1.3_1768249283847_0.8226512805875208","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"pdf-rfc3161","version":"0.1.4","keywords":["pdf","timestamp","rfc3161","tsa","pades","ltv","digital-signature","cloudflare-workers","edge"],"author":{"name":"Denis Mingulov","email":"denis@mingulov.com"},"license":"MIT","_id":"pdf-rfc3161@0.1.4","maintainers":[{"name":"denis0","email":"denis@mingulov.com"}],"homepage":"https://github.com/mingulov/pdf-rfc3161#readme","bugs":{"url":"https://github.com/mingulov/pdf-rfc3161/issues"},"dist":{"shasum":"28538f3e830c81d9f8d0d03d3a9caa8aa9b9bb9c","tarball":"https://registry.npmjs.org/pdf-rfc3161/-/pdf-rfc3161-0.1.4.tgz","fileCount":8,"integrity":"sha512-22+56ObXLyLPeNM1c/h3G85IU55k4q725S4S+tb31pi/c6CDWOJNY/FNe+hfawV6hT56qUFWqGu13DoP6NA/2A==","signatures":[{"sig":"MEUCIQCNu4NMfFukkQhiG7+WmDGq/7fgs+ijvZxg+6KgaxwjcgIgDZoHhYujgCKdfIgUOjwQ8OGDl7FyGnKAyhzlr+rq2Qg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":986572},"main":"./dist/index.cjs","type":"module","_from":"file:pdf-rfc3161-0.1.4.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"tsup --watch","lint":"eslint src --fix","build":"tsup","format":"prettier --write \"src/**/*.ts\"","typecheck":"tsc --noEmit"},"_npmUser":{"name":"denis0","email":"denis@mingulov.com"},"_resolved":"/tmp/97f4ec73a4a0491f892403155af48dce/pdf-rfc3161-0.1.4.tgz","_integrity":"sha512-22+56ObXLyLPeNM1c/h3G85IU55k4q725S4S+tb31pi/c6CDWOJNY/FNe+hfawV6hT56qUFWqGu13DoP6NA/2A==","repository":{"url":"git+https://github.com/mingulov/pdf-rfc3161.git","type":"git"},"_npmVersion":"11.6.2","description":"A pure JS library to add RFC 3161 trusted timestamps to PDFs. Edge-ready, works in Node.js, Cloudflare Workers, and Browsers without native dependencies.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"pkijs":"^3.3.3","asn1js":"^3.0.7","pvutils":"^1.1.5","pdf-lib-incremental-save":"^1.17.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","eslint":"^9.39.2","prettier":"^3.7.4","@eslint/js":"^9.39.2","typescript":"^5.9.3","@types/node":"^25.0.6","typescript-eslint":"^8.53.0","eslint-plugin-security":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/pdf-rfc3161_0.1.4_1768393261446_0.8851428769298422","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"pdf-rfc3161","version":"0.2.0","keywords":["pdf","timestamp","rfc3161","tsa","pades","ltv","digital-signature","cloudflare-workers","edge"],"author":{"name":"Denis Mingulov","email":"denis@mingulov.com"},"license":"MIT","_id":"pdf-rfc3161@0.2.0","maintainers":[{"name":"denis0","email":"denis@mingulov.com"}],"homepage":"https://github.com/mingulov/pdf-rfc3161#readme","bugs":{"url":"https://github.com/mingulov/pdf-rfc3161/issues"},"dist":{"shasum":"2ae19678e9382b14c758728ac6941943fab2e27c","tarball":"https://registry.npmjs.org/pdf-rfc3161/-/pdf-rfc3161-0.2.0.tgz","fileCount":27,"integrity":"sha512-3qvif/A9DWLJDl5d8WryPWDFgXY0MjXB8MaPfCbxeCPdQJTLjzI5GiWI30NUmhLFoEgL+a+QI1AIWZSTCrw+wQ==","signatures":[{"sig":"MEYCIQCP1pvR7Nxtiv8rzdEHcFa/xCMmuRuKYT9tYwTYRHpO0wIhAOg1JK2QAObbvX4epMhLrhwFLO+kAKh2zgt5wPtKvBqy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/pdf-rfc3161@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":905758},"main":"./dist/index.cjs","type":"module","_from":"file:release-artifacts/core/pdf-rfc3161-0.2.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./advanced":{"import":{"types":"./dist/advanced.d.ts","default":"./dist/advanced.js"},"require":{"types":"./dist/advanced.d.cts","default":"./dist/advanced.cjs"}},"./internals":{"import":{"types":"./dist/internals.d.ts","default":"./dist/internals.js"},"require":{"types":"./dist/internals.d.cts","default":"./dist/internals.cjs"}},"./package.json":"./package.json","./rfcs/rfc5544":{"import":{"types":"./dist/rfcs/rfc5544.d.ts","default":"./dist/rfcs/rfc5544.js"},"require":{"types":"./dist/rfcs/rfc5544.d.cts","default":"./dist/rfcs/rfc5544.cjs"}},"./rfcs/rfc8933":{"import":{"types":"./dist/rfcs/rfc8933.d.ts","default":"./dist/rfcs/rfc8933.js"},"require":{"types":"./dist/rfcs/rfc8933.d.cts","default":"./dist/rfcs/rfc8933.cjs"}}},"scripts":{"dev":"tsup --watch","lint":"eslint src --fix","build":"tsup","format":"prettier --write \"src/**/*.ts\"","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","approver":{"name":"denis0","email":"denis@mingulov.com"},"trustedPublisher":{"id":"github","oidcConfigId":"oidc:a24a736c-395f-4419-81df-6fb1e27f6139"}},"_resolved":"/home/runner/work/pdf-rfc3161/pdf-rfc3161/release-artifacts/core/pdf-rfc3161-0.2.0.tgz","_integrity":"sha512-3qvif/A9DWLJDl5d8WryPWDFgXY0MjXB8MaPfCbxeCPdQJTLjzI5GiWI30NUmhLFoEgL+a+QI1AIWZSTCrw+wQ==","repository":{"url":"git+https://github.com/mingulov/pdf-rfc3161.git","type":"git"},"_npmVersion":"11.17.0","description":"A pure JS library to add RFC 3161 trusted timestamps to PDFs. Edge-ready, works in Node.js, Cloudflare Workers, and Browsers without native dependencies.","directories":{},"sideEffects":["./dist/index.cjs","./dist/index.js"],"_nodeVersion":"24.19.0","dependencies":{"pkijs":"^3.4.0","asn1js":"^3.0.10","pdf-lib-incremental-save":"1.17.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.12","tsup":"^8.5.1","eslint":"^10.9.1","prettier":"^3.9.6","@eslint/js":"^10.0.1","typescript":"^5.9.3","@types/node":"^25.9.1","typescript-eslint":"^8.68.0","eslint-plugin-security":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/pdf-rfc3161_0.2.0_1787902152194_0.646704685061094","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"_id":"pdf-rfc3161@0.2.1","bugs":{"url":"https://github.com/mingulov/pdf-rfc3161/issues"},"dist":{"shasum":"ef8e9d90b5bf8b5ee948c7e30b85e8166b6122ef","tarball":"https://registry.npmjs.org/pdf-rfc3161/-/pdf-rfc3161-0.2.1.tgz","integrity":"sha512-tDR7/sVkYP9A/epbsAw5xPd7VvslUOCRVYb6pNcINP1fErx59hL+sfi/kbtpDHpfmXK8HOvjFGu7rhGIILndFw==","fileCount":27,"unpackedSize":914076,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/pdf-rfc3161@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDc0FBRikoXWUTsnRDHB/qDGZp4VFxJRpueAJTOgxLKmQIgYBZHvJ8QpMM4zDM8gjvbzF2KyC+Iv3P7SnSMlOmkjFs="}]},"main":"./dist/index.cjs","name":"pdf-rfc3161","type":"module","_from":"file:release-artifacts/core/pdf-rfc3161-0.2.1.tgz","types":"./dist/index.d.ts","author":{"name":"Denis Mingulov","email":"denis@mingulov.com"},"module":"./dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./advanced":{"import":{"types":"./dist/advanced.d.ts","default":"./dist/advanced.js"},"require":{"types":"./dist/advanced.d.cts","default":"./dist/advanced.cjs"}},"./internals":{"import":{"types":"./dist/internals.d.ts","default":"./dist/internals.js"},"require":{"types":"./dist/internals.d.cts","default":"./dist/internals.cjs"}},"./package.json":"./package.json","./rfcs/rfc5544":{"import":{"types":"./dist/rfcs/rfc5544.d.ts","default":"./dist/rfcs/rfc5544.js"},"require":{"types":"./dist/rfcs/rfc5544.d.cts","default":"./dist/rfcs/rfc5544.cjs"}},"./rfcs/rfc8933":{"import":{"types":"./dist/rfcs/rfc8933.d.ts","default":"./dist/rfcs/rfc8933.js"},"require":{"types":"./dist/rfcs/rfc8933.d.cts","default":"./dist/rfcs/rfc8933.cjs"}}},"license":"MIT","scripts":{"dev":"tsup --watch","lint":"eslint src --fix","build":"tsup","format":"prettier --write \"src/**/*.ts\"","typecheck":"tsc --noEmit"},"version":"0.2.1","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a24a736c-395f-4419-81df-6fb1e27f6139"},"approver":{"name":"denis0","email":"denis@mingulov.com"}},"homepage":"https://github.com/mingulov/pdf-rfc3161#readme","keywords":["pdf","timestamp","rfc3161","tsa","pades","ltv","digital-signature","cloudflare-workers","edge"],"_resolved":"/home/runner/work/pdf-rfc3161/pdf-rfc3161/release-artifacts/core/pdf-rfc3161-0.2.1.tgz","_integrity":"sha512-tDR7/sVkYP9A/epbsAw5xPd7VvslUOCRVYb6pNcINP1fErx59hL+sfi/kbtpDHpfmXK8HOvjFGu7rhGIILndFw==","repository":{"url":"git+https://github.com/mingulov/pdf-rfc3161.git","type":"git"},"_npmVersion":"11.17.0","description":"A pure JS library to add RFC 3161 trusted timestamps to PDFs. Edge-ready, works in Node.js, Cloudflare Workers, and Browsers without native dependencies.","directories":{},"maintainers":[{"name":"denis0","email":"denis@mingulov.com"}],"sideEffects":["./dist/index.cjs","./dist/index.js"],"_nodeVersion":"24.19.0","dependencies":{"pkijs":"^3.4.0","asn1js":"^3.0.10","pdf-lib-incremental-save":"1.17.4"},"devDependencies":{"tsx":"^4.23.12","tsup":"^8.5.1","eslint":"^10.9.1","prettier":"^3.9.6","@eslint/js":"^10.0.1","typescript":"^5.9.3","@types/node":"^25.9.1","typescript-eslint":"^8.68.0","eslint-plugin-security":"^4.0.1"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pdf-rfc3161_0.2.1_1788157436467_0.1922422756083071"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-07T20:54:17.804Z","modified":"2026-08-31T06:23:56.865Z","0.0.1":"2026-01-07T20:54:17.948Z","0.1.0":"2026-01-08T20:24:58.046Z","0.1.1":"2026-01-09T16:25:39.240Z","0.1.2":"2026-01-10T13:30:08.421Z","0.1.3":"2026-01-12T20:21:23.983Z","0.1.4":"2026-01-14T12:21:01.761Z","0.2.0":"2026-08-28T07:29:12.295Z","0.2.1":"2026-08-31T06:23:56.566Z"},"bugs":{"url":"https://github.com/mingulov/pdf-rfc3161/issues"},"author":{"name":"Denis Mingulov","email":"denis@mingulov.com"},"license":"MIT","homepage":"https://github.com/mingulov/pdf-rfc3161#readme","keywords":["pdf","timestamp","rfc3161","tsa","pades","ltv","digital-signature","cloudflare-workers","edge"],"repository":{"url":"git+https://github.com/mingulov/pdf-rfc3161.git","type":"git"},"description":"A pure JS library to add RFC 3161 trusted timestamps to PDFs. Edge-ready, works in Node.js, Cloudflare Workers, and Browsers without native dependencies.","maintainers":[{"name":"denis0","email":"denis@mingulov.com"}],"readme":"# pdf-rfc3161\n\n`pdf-rfc3161` adds RFC 3161 document timestamps to PDFs in JavaScript and TypeScript. It has no native dependencies and supports Node.js, edge runtimes, and browsers with Web Crypto support.\n\n## Install\n\n```bash\nnpm install pdf-rfc3161\n```\n\n## Timestamp a PDF\n\n```ts\nimport { readFile, writeFile } from \"node:fs/promises\";\nimport { KNOWN_TSA_URLS, timestampPdf } from \"pdf-rfc3161\";\n\nconst result = await timestampPdf({\n    pdf: await readFile(\"document.pdf\"),\n    tsa: { url: KNOWN_TSA_URLS.FREETSA },\n});\n\nawait writeFile(\"document-timestamped.pdf\", result.pdf);\n```\n\nFreeTSA is used here only as a testing/development endpoint. Selecting a TSA URL does not trust\nits timestamps; choose a production TSA and verification roots according to your policy.\n\nLTV is enabled by default. The library collects and embeds certificates, CRLs, and OCSP responses as DSS candidate material. This is validation input only: it does not establish TSA trust, validate revocation freshness, or guarantee long-term validity. Set `enableLTV: false` to skip automatic candidate-material collection.\n\n`timestampPdf()` initially reserves 8 KB for the timestamp token and retries with a larger\nplaceholder if needed. A directly constructed `TimestampSession` defaults to 16 KB with LTV\nenabled and 8 KB otherwise. Omit `signatureSize` or set it to `0` to use the selected API path's\ndefault.\n\n## Trust is caller-owned\n\nCryptographic consistency is not TSA trust. Supply roots that match your policy when verifying, for example with `SimpleTrustStore`. The bundled-root list is currently empty, so `getDefaultTrustStore()` throws `STATE_ERROR`; do not treat it as a usable default. You may pass `{ trustStore: null }` to skip chain validation explicitly, but that reports cryptographic consistency only.\n\nSee the [full documentation](https://github.com/mingulov/pdf-rfc3161#readme), [trust-store maintenance guidance](https://github.com/mingulov/pdf-rfc3161/blob/main/docs/maintain-trust-store.md), and [API source](https://github.com/mingulov/pdf-rfc3161/tree/main/packages/core/src).\n","readmeFilename":"README.md"}