# node-exec-path

> Helpers for node executable paths

Latest version **1.2.4** (published 2026-09-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install node-exec-path
pnpm add node-exec-path
yarn add node-exec-path
bun add node-exec-path
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.2.4 |
| Published | 2026-09-12 |
| First published | 2022-08-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=0.8 |
| Dependencies | 3 |
| Unpacked size | 20.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Kevin Malakoff |
| Maintainers | kmalakoff |
| Keywords | node, exec, path, satisfies, find, semver |

## Links

- npm: https://www.npmjs.com/package/node-exec-path
- Repository: https://github.com/kmalakoff/node-exec-path
- Homepage: https://github.com/kmalakoff/node-exec-path#README.md
- Issues: https://github.com/kmalakoff/node-exec-path/issues
- npm.io page: https://npm.io/package/node-exec-path

## Dependencies (3)

- [semver](https://npm.io/package/semver.md) 5.7.2
- [env-path-key](https://npm.io/package/env-path-key.md) ^1.0.0
- [function-exec-sync](https://npm.io/package/function-exec-sync.md) ^2.0.1

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 1.2.4 (latest) — 2026-09-12
- 1.2.3 — 2026-08-31
- 1.2.2 — 2026-05-26
- 1.2.1 — 2025-12-15
- 1.2.0 — 2025-12-15
- 1.1.18 — 2025-12-12
- 1.1.17 — 2025-12-12
- 1.1.16 — 2025-12-12
- 1.1.15 — 2025-12-04
- 1.1.14 — 2025-12-04
- 1.1.13 — 2025-12-03
- 1.1.12 — 2025-11-06
- 1.1.11 — 2025-10-21
- 1.1.10 — 2025-10-21
- 1.1.9 — 2025-07-08
- … 48 more at https://npm.io/package/node-exec-path/versions

## README

# node-exec-path

Find a Node.js executable in `PATH` that satisfies a semver range.

```sh
npm install node-exec-path
```

## Usage

```js
const { satisfiesSemverSync } = require('node-exec-path');

const execPath = satisfiesSemverSync('>=18.0');
console.log(execPath || 'No matching Node.js executable found in PATH');
```

## Documentation

[API Docs](https://kmalakoff.github.io/node-exec-path/)

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