# @types/jsreport-docx

> TypeScript definitions for jsreport-docx

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

## Install

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

## 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 | 2.8.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 | 4.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51445 |
| Maintainers | types |

## Links

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

## Dependencies (1)

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

## Recent versions

- 2.8.5 (latest) — 2023-11-07
- 2.8.2 (ts3.6) — 2021-07-08
- 2.8.1 (ts3.4) — 2021-01-18
- 2.8.0 (ts3.1) — 2020-09-08
- 2.8.4 — 2023-10-18
- 2.8.3 — 2023-09-15

## README

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

declare namespace JsReportDocx {
    interface DocxTemplateModifier extends TemplateBase {
        docx?: DocxTemplate | undefined;
    }

    interface Configuration {
        preview?: {
            enabled: true;
            publicUri: string;
            showWarning: false;
        } | undefined;
    }

    interface DocxTemplate {
        templateAsetShortid?: string | undefined;
        templateAsset?: {
            content: string;
            encoding: string;
        } | undefined;
    }
}

declare module "jsreport-core" {
    interface TemplateRegistry {
        DocxTemplateModifier: JsReportDocx.DocxTemplateModifier;
    }
}

declare function JSReportDocx(cfg?: JsReportDocx.Configuration): ExtensionDefinition;

export = JSReportDocx;

````

### 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-docx · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
