Skip to content

Get the GitHub readme for an npm package

License

Notifications You must be signed in to change notification settings

feross/get-package-readme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

get-package-readme travis npm downloads javascript style guide

Get the GitHub readme for an npm package

install

npm install get-package-readme

usage

var getPackageReadme = require('get-package-readme')

getPackageReadme('webtorrent', function (err, readme) {
  if (err) throw err
  console.log(readme)
})

why this instead of readme-getter?

get-package-readme (this package) gets an npm packages' GitHub readme (from the master branch) and falls back to the npm readme if it exists. If you want just the npm readme, you should use readme-getter.

license

MIT. Copyright (c) Feross Aboukhadijeh.

About

Get the GitHub readme for an npm package

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages