# @types/ignore-styles

> TypeScript definitions for ignore-styles

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

## Install

```sh
npm install @types/ignore-styles
pnpm add @types/ignore-styles
yarn add @types/ignore-styles
bun add @types/ignore-styles
```

## 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 | 5.0.4 |
| Published | 2025-11-14 |
| First published | 2017-12-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51449 |
| Maintainers | types |

## Links

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

## Dependencies (1)

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

## Recent versions

- 5.0.4 (latest) — 2025-11-14
- 5.0.3 (ts4.5) — 2023-11-07
- 5.0.0 (ts2.4) — 2017-12-03
- 5.0.2 — 2023-10-18
- 5.0.1 — 2023-09-26

## README

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

export type Handler = (m: NodeJS.Module, filename: string) => any;

export const DEFAULT_EXTENSIONS: string[];

export let oldHandlers: {
    [ext: string]: Handler;
};

export function noOp(): void;

export function restore(): void;

export default function register(
    extensions?: string[],
    handler?: Handler,
): void;

````

### 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 [Taiju Muto](https://github.com/tai2).

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