Skip to content

eush77/github-readme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Related

  • github-man — open README from GitHub repository as a man page.

Install

npm install github-readme

License

MIT

About

Fetch README from GitHub

Resources

License

Stars

Watchers

Forks

Packages

No packages published