1.0.0 • Published 9 years ago

github-readme v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

npm

github-readme

Build Status Dependency Status

Fetch README from GitHub.

Example

> githubReadme('git', 'git', function (err, readme) {
>   console.log(readme.slice(0, 300));
> })
////////////////////////////////////////////////////////////////

	Git - the stupid content tracker

////////////////////////////////////////////////////////////////

"git" can mean anything, depending on your mood.

 - random three-letter combination that is pronounceable, and not
   actually used

API

githubReadme(user, repo, cb(err, readme))

Fetches README from GitHub and returns it as a string. The filename is detected automatically.

Install

npm install github-readme

License

MIT