Finds closest package.json walking up dir tree from given module/dir
npm install pkginfo-asyncpackage.json file from a module or directory by searching up the directory tree.PkgInfo uses the node-walkup library do its dir walk up / glob'ing.
Install with npm
```
npm install pkginfo-async
`javascript
var pkgInfo = require("pkginfo-async")
pkgInfo(module, function (err, pkg) {
// err is an error object or null.
// pkg is the contents of the package.json or null
})
`
* start {String | Object}{String}
* dirname to start looking (upward) from{Object}
* nodejs module object (uses module.filename or module.id) for starting dircb
* {Function(err, pkg)}err
* {Error | null}pkg
* {Object | null} the contents of package.json. Null if none found.
Perform an asynchronous search for package.json up the dir tree.pkg.dirname
* If no file is found, returns null.
* contains the path to the directory where this package.json` was located.