New: Introducing PHP and Composer Support.Read the Announcement
Socket
Book a DemoInstallSign in
Socket

pkg-readme

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pkg-readme

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

latest
Source
npmnpm
Version
1.1.0
Version published
Weekly downloads
10
11.11%
Maintainers
1
Weekly downloads
 
Created
Source

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

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

License

MIT

FAQs

Package last updated on 02 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts