packagereadme return the readme as a string for the current package based on closest package.json in the specified or parent directory example var readme = require('packagereadme'); readme(__dirname,function(err,readme){ console.log(readme); // prints the module's readme if found});