relative-package
Find the package.json (or another) relative to a given path
Getting Started
Install the module with: npm install relative-package
Usage
Find package.json:
var relativePackage = ; console console console console console
Find any other file:
var relativePackage = ; console console
(see demo.js)