find-mod

1.0.0 • Public • Published

find-mod

Build status Git tag NPM version Code style

Find the closest directory containing node_modules.

Installation

$ npm install find-mod

Usage

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    3

Package Sidebar

Install

npm i find-mod

Weekly Downloads

3

Version

1.0.0

License

MIT

Last publish

Collaborators

  • joshrtay