JSPM

@signpdf/utils

3.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 14828
  • Score
    100M100P100Q141140F
  • License MIT

Utilities for the @signpdf packages.

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

for @signpdf

npm version Donate to this project using Buy Me A Coffee

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.