Skip to content

Generate a Standard Readme Style compliant README from your package.json

License

Notifications You must be signed in to change notification settings

tiaanduplessis/pkg-readme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pkg-readme

package version package downloads standard-readme compliant package license make a pull request

Generate a Standard Readme Style compliant README from your package.json

Table of Contents

Install

This project uses node and npm.

$ npm install pkg-readme
$ # OR
$ yarn add pkg-readme

Usage

const generateReadme = require('./')

const args = {
  name: '', // Name of package
  description: '', // Description of package
  license: '', // Package license
  example: '' // name of example file in current directory that will be put into the usage section as code block
}

generateReadme(args)
  .then(console.log)
  .catch(console.error)

Using the CLI (Same options):

$ pkg-readme --license=FOOBAR

Contribute

  1. Fork it and create your feature branch: git checkout -b my-new-feature
  2. Commit your changes: git commit -am 'Add some feature'
  3. Push to the branch: git push origin my-new-feature
  4. Submit a pull request

License

MIT

About

Generate a Standard Readme Style compliant README from your package.json

Topics

Resources

License

Stars

Watchers

Forks

Packages