# @types/lerna__child-process

> TypeScript definitions for @lerna/child-process

Latest version **5.1.5** (published 2025-10-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/lerna__child-process
pnpm add @types/lerna__child-process
yarn add @types/lerna__child-process
bun add @types/lerna__child-process
```

## 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.1.5 |
| Published | 2025-10-24 |
| First published | 2022-03-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 4.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51445 |
| Maintainers | types |

## Links

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

## Dependencies (3)

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

## Recent versions

- 5.1.5 (latest) — 2025-10-24
- 5.1.4 (ts5.1) — 2023-11-07
- 5.1.1 (ts4.4) — 2023-08-30
- 5.1.0 (ts3.9) — 2022-06-08
- 5.1.3 — 2023-10-18
- 5.1.2 — 2023-10-10
- 4.0.0 — 2022-03-24

## README

# Installation
> `npm install --save @types/lerna__child-process`

# Summary
This package contains type definitions for @lerna/child-process (https://github.com/lerna/lerna/blob/main/core/child-process).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lerna__child-process.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lerna__child-process/index.d.ts)
````ts
import { Package } from "@lerna/package";
import execa = require("execa");

export type ExecutionError = execa.ExecaError & { exitCode: number; pkg?: Package };
export type ExecutionResult = execa.ExecaChildProcess & { pkg?: Package };
export function exec(command: string, args: string[], opts?: execa.Options): ExecutionResult;

export function execSync(
    command: string,
    args: string[],
    opts?: execa.SyncOptions,
): ReturnType<typeof execa.sync>["stdout"];

export function getChildProcessCount(): number;

export function getExitCode(result: execa.ExecaError): number;

export function spawn(command: string, args: string[], opts?: execa.Options): ExecutionResult;

export function spawnStreaming(command: string, args: string[], opts?: execa.Options, prefix?: string): ExecutionResult;

export interface ExecOpts {
    cwd: string;
    maxBuffer?: number;
}

````

### Additional Details
 * Last updated: Fri, 24 Oct 2025 04:02:41 GMT
 * Dependencies: [@types/lerna__package](https://npmjs.com/package/@types/lerna__package), [@types/node](https://npmjs.com/package/@types/node), [execa](https://npmjs.com/package/execa)

# Credits
These definitions were written by [donmahallem](https://github.com/donmahallem).

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