# @types/jsreport-pdf-utils

> TypeScript definitions for jsreport-pdf-utils

Latest version **1.9.5** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/jsreport-pdf-utils
pnpm add @types/jsreport-pdf-utils
yarn add @types/jsreport-pdf-utils
bun add @types/jsreport-pdf-utils
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.9.5 |
| Published | 2023-11-07 |
| First published | 2020-09-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 5.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51445 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/jsreport-pdf-utils
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsreport-pdf-utils
- npm.io page: https://npm.io/package/@types/jsreport-pdf-utils

## Dependencies (1)

- [@types/jsreport-core](https://npm.io/package/@types/jsreport-core.md) *

## Recent versions

- 1.9.5 (latest) — 2023-11-07
- 1.9.2 (ts3.6) — 2021-07-08
- 1.9.1 (ts3.4) — 2021-01-18
- 1.9.0 (ts3.1) — 2020-09-08
- 1.9.4 — 2023-10-18
- 1.9.3 — 2023-09-15

## README

# Installation
> `npm install --save @types/jsreport-pdf-utils`

# Summary
This package contains type definitions for jsreport-pdf-utils (https://github.com/jsreport/jsreport-pdf-utils).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsreport-pdf-utils.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsreport-pdf-utils/index.d.ts)
````ts
import { ExtensionDefinition, Template } from "jsreport-core";

declare namespace JsReportPdfUtils {
    interface PdfOperation {
        type: "merge" | "append" | "prepend";
        mergeWholeDocument?: boolean | undefined;
        renderForEveryPage?: boolean | undefined;
        templateShortid?: string | undefined;
        template?: Template | undefined;
    }

    interface PdfMeta {
        title?: string | undefined;
        author?: string | undefined;
        subject?: string | undefined;
        keywords?: string | undefined;
        creator?: string | undefined;
        producer?: string | undefined;
    }

    interface PdfSign {
        certificateAsset: {
            contrent: string;
            encoding: string;
            password: string;
        };
        reason: string;
    }

    interface PdfPassword {
        password: string;
        ownerPassword: string;
        printing: "HighResolution" | "NotAllowed" | "LowResolution";
        modifying: boolean;
        copying: boolean;
        fillingForms: boolean;
        contentAccessibility: boolean;
        documentAssembly: true;
    }

    interface PdfTemplate extends Template {
        pdfOperations?: PdfOperation[] | undefined;
        pdfMeta?: PdfMeta | undefined;
        pdfSign?: PdfSign | undefined;
        pdfPassword?: PdfPassword | undefined;
    }
}

declare module "jsreport-core" {
    interface TemplateRegistry {
        PdfTemplate: JsReportPdfUtils.PdfTemplate;
    }
}

declare function JsReportPdfUtils(): ExtensionDefinition;

export = JsReportPdfUtils;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: [@types/jsreport-core](https://npmjs.com/package/@types/jsreport-core)

# Credits
These definitions were written by [pofider](https://github.com/pofider).

---
_Source: https://npm.io/package/@types/jsreport-pdf-utils · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
