1.1.0 • Published 5 years ago

pkg-readme v1.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

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

1.1.0

5 years ago

1.0.5

5 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago