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
2 downloads in the last day
19 downloads in the last week
69 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