# @types/jsreport-scripts

> TypeScript definitions for jsreport-scripts

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

## Install

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

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

## Links

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

## Dependencies (1)

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

## Recent versions

- 2.6.5 (latest) — 2023-11-07
- 2.6.2 (ts3.6) — 2021-07-08
- 2.6.1 (ts3.4) — 2021-01-18
- 2.6.0 (ts3.1) — 2020-09-08
- 2.6.4 — 2023-10-18
- 2.6.3 — 2023-09-15

## README

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

declare namespace JsReportScripts {
    interface TemplateScript {
        shortid?: string | undefined;
        name?: string | undefined;
        content?: string | undefined;
    }

    interface Configuration {
        allowedModules?: string[] | "*" | undefined;
    }

    interface ScriptsTemplate extends Template {
        scripts?: TemplateScript[] | undefined;
    }
}

declare module "jsreport-core" {
    interface TemplateRegistry {
        ScriptsTemplate: JsReportScripts.ScriptsTemplate;
    }
}

declare function JsReportScripts(cfg?: JsReportScripts.Configuration): ExtensionDefinition;

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