# @types/require-directory

> TypeScript definitions for require-directory

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

## Install

```sh
npm install @types/require-directory
pnpm add @types/require-directory
yarn add @types/require-directory
bun add @types/require-directory
```

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

## Links

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

## Dependencies (1)

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

## Recent versions

- 2.1.7 (latest) — 2025-11-14
- 2.1.6 (ts4.5) — 2023-11-22
- 2.1.2 (ts3.6) — 2021-07-07
- 2.1.1 (ts2.4) — 2019-03-11
- 2.1.5 — 2023-11-07
- 2.1.4 — 2023-10-18
- 2.1.3 — 2023-09-27
- 2.1.0 — 2017-08-14

## README

# Installation
> `npm install --save @types/require-directory`

# Summary
This package contains type definitions for require-directory (https://github.com/troygoode/node-require-directory/).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/require-directory.

### 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 [Ihor Chulinda](https://github.com/Igmat).

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