# seekout

> Looks for a provided file in the current directory and all parent directories and returns the first found file path

Latest version **1.0.2** (published 2016-02-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install seekout
pnpm add seekout
yarn add seekout
bun add seekout
```

## 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.2 |
| Published | 2016-02-20 |
| First published | 2016-02-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.12 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Alexey Litvinov |
| Maintainers | sullenor |
| Keywords | lookup, fs |

## Links

- npm: https://www.npmjs.com/package/seekout
- Repository: https://github.com/sullenor/seekout
- Homepage: https://github.com/sullenor/seekout#readme
- Issues: https://github.com/sullenor/seekout/issues
- npm.io page: https://npm.io/package/seekout

## Alternatives

- [unionfs](https://npm.io/package/unionfs.md) — 2.2M weekly downloads
- [path-starts-with](https://npm.io/package/path-starts-with.md) — 35.9K weekly downloads
- [redzip](https://npm.io/package/redzip.md) — 1.2K weekly downloads
- [vscode-anymatch](https://npm.io/package/vscode-anymatch.md) — 848 weekly downloads
- [@ledgerhq/coin-filecoin](https://npm.io/package/@ledgerhq/coin-filecoin.md) — 793 weekly downloads

## Recent versions

- 1.0.2 (latest) — 2016-02-20
- 1.0.1 — 2016-02-20

## README

seekout
=======

Looks for a provided file in the current directory. Also checks all parent directories and returns the first found file path.

## Installation

```bash
$ npm install seekout
```

## Usage

```javascript
const seekout = require('seekout');

seekout('.npmrc');
// "/Users/sullenor/.npmrc"
// or null if file was not found
```

You can also specify any certain working directory by the second argument.

```javascript
const seekout = require('seekout');

seekout('package.json', './seekout');
// "/../seekout/package.json"
```

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