packagereadme

return the readme as a string for the current package based on closest package.json in the specified or parent directory

npm install packagereadme
5 downloads in the last day
18 downloads in the last week
70 downloads in the last month

Build Status

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
});
npm loves you