# @types/interpret

> TypeScript definitions for interpret

Latest version **1.1.4** (published 2025-11-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/interpret
pnpm add @types/interpret
yarn add @types/interpret
bun add @types/interpret
```

## Health

**Score 65/100 (B)** — status: stable.

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

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 1.1.4 |
| Published | 2025-11-14 |
| First published | 2018-12-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51439 |
| Maintainers | types |

## Links

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

## Dependencies (1)

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

## Recent versions

- 1.1.4 (latest) — 2025-11-14
- 1.1.3 (ts4.5) — 2023-11-07
- 1.1.1 (ts2.5) — 2019-02-13
- 1.1.2 — 2023-10-18
- 1.1.0 — 2018-12-05

## README

# Installation
> `npm install --save @types/interpret`

# Summary
This package contains type definitions for interpret (https://github.com/gulpjs/interpret).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/interpret.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/interpret/index.d.ts)
````ts
/// <reference types="node" />

export interface Hook {
    (m: { extensions: string } | NodeJS.Module): any;
    install(m?: { extension: string; [key: string]: any }): void;
}

export type RegisterFn = (hook: Hook) => void;

export interface ExtensionDescriptor {
    module: string;
    register: RegisterFn;
}

export type Extension = string | ExtensionDescriptor | Array<string | ExtensionDescriptor>;
export interface Extensions {
    [extension: string]: Extension | null;
}

export const extensions: Extensions;
export const jsVariants: Extensions;

````

### Additional Details
 * Last updated: Fri, 14 Nov 2025 18:02:08 GMT
 * Dependencies: [@types/node](https://npmjs.com/package/@types/node)

# Credits
These definitions were written by [BendingBender](https://github.com/BendingBender).

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