# fs-exists-in-path

> Async fs.exists() that walks the PATH environment variable

Latest version **1.0.0** (published 2014-05-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install fs-exists-in-path
pnpm add fs-exists-in-path
yarn add fs-exists-in-path
bun add fs-exists-in-path
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2014-05-21 |
| First published | 2014-05-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Bran van der Meer |
| Maintainers | branneman |
| Keywords | fs, exists, path |

## Links

- npm: https://www.npmjs.com/package/fs-exists-in-path
- Repository: https://github.com/branneman/fs-exists-in-path
- Issues: https://github.com/branneman/fs-exists-in-path/issues
- npm.io page: https://npm.io/package/fs-exists-in-path

## Dependencies (1)

- [async](https://npm.io/package/async.md) ^0.9.0

## 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.0.0 (latest) — 2014-05-21

## README

# fs-exists-in-path

Async [fs.exists()](http://nodejs.org/api/fs.html#fs_fs_exists_path_callback) that walks the PATH environment variable.

## Install
```
npm install fs-exists-in-path --save
```

## Example usage
```js
var existsInPath = require('fs-exists-in-path');

existsInPath('grunt', function(err, exists) {
    if (exists) {
        console.log('grunt-cli seems to be installed!');
    } else {
        console.log('No grunt-cli found! Install using: npm i grunt-cli -g');
    }
});
```

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