get-parent-dir
1.0.1 • Public • Published get-parent-dir
Find the parent directory from a required module.
example
var findParent = require('get-parent-dir')
findParent.sync()
api
findParent(callback)
calls callback
with found dir, or null
if unfound.
findParent.sync()
returns found dir or null
if unfound.
license
MIT
Package Sidebar
Install
Weekly Downloads