Package Exports
- @signpdf/utils
- @signpdf/utils/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@signpdf/utils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Utilities
Usage
Used by the other @signpdf packages internally. Additionally, needed for PAdES compliant signatures"
import { plainAddPlaceholder } from '@signpdf/placeholder-plain';
import { SUBFILTER_ETSI_CADES_DETACHED } from '@signpdf/utils';
const pdfToSign = plainAddPlaceholder({
...,
subFilter: SUBFILTER_ETSI_CADES_DETACHED,
});Notes
- Feel free to copy and paste any part of this code. See its defined Purpose.