# find-mod

> Find the closest directory containing node_modules.

Latest version **1.0.0** (published 2016-05-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install find-mod
pnpm add find-mod
yarn add find-mod
bun add find-mod
```

## 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 | 2016-05-17 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | joshrtay |

## Links

- npm: https://www.npmjs.com/package/find-mod
- Repository: https://github.com/joshrtay/find-mod
- Homepage: https://github.com/joshrtay/find-mod#readme
- Issues: https://github.com/joshrtay/find-mod/issues
- npm.io page: https://npm.io/package/find-mod

## Dependencies (1)

- [mz](https://npm.io/package/mz.md) ^2.4.0

## Recent versions

- 1.0.0 (latest) — 2016-05-17

## README

# find-mod

[![Build status][travis-image]][travis-url]
[![Git tag][git-image]][git-url]
[![NPM version][npm-image]][npm-url]
[![Code style][standard-image]][standard-url]

Find the closest directory containing node_modules.

## Installation

    $ npm install find-mod

## Usage

```js
const findMod = require('find-mod')

co.wrap(function * ()  {
  yield findMod(__dirname) // => $HOME/find-mod
})

```

## API

### findMod(dir)

- `dir` - Director to start search.

**Returns:**

## License

MIT

[travis-image]: https://img.shields.io/travis/joshrtay/find-mod.svg?style=flat-square
[travis-url]: https://travis-ci.org/joshrtay/find-mod
[git-image]: https://img.shields.io/github/tag/joshrtay/find-mod.svg?style=flat-square
[git-url]: https://github.com/joshrtay/find-mod
[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square
[standard-url]: https://github.com/feross/standard
[npm-image]: https://img.shields.io/npm/v/find-mod.svg?style=flat-square
[npm-url]: https://npmjs.org/package/find-mod

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