New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

easy-readme

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

easy-readme

generate readme file for your next project with a lot of options

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

easy-readme

NPM Version Coverage Status Build Status Downloads Dependency Status License

generate readme file for your next project with a lot of options

Features

  • 6 badges are includeds
  • install ,usage and API headers and npm version , licence badges are generated with default options

Install

npm install easy-readme --save-dev

Usage


const readme = require("easy-readme");

  // generate readme file with default options
  readme(); 

  // with options contents align to center and cli header included
  readme({align:'center',contents:{cli:true}})

Note

you must have a package.json and git repository in the current directory in order to generate readme.md file

cli


$ easyreadme --help

  generate readme file for your next project with a lot of options

  Usage

  $ easyreadme <options> …

  Options

  --center, -c   align the markdown in center
  --cli,    -i   include cli header header
  --exp,    -e   include example header header
  --dep,    -p   add dependency badge
  --build,  -b   add build status badge
  --cov,    -v   add coverage badge
  --down,   -d   add coverage badge


  Examples

  $ easyreadme
  √ readme.md created successfully !

  $ easyreadme --center --build
  √ readme.md created successfully !

API

easy-readme(options)

string

Type: string

given name.

options

Type: object

chooser what you would to include in your readme file.

default options :

{
  align: 'left',
  npm: true,
  licence: true,
  api: true,
  badges: {
    dependancy: false,
    build: false,
    cov: false,
    download: false
  },
  contents: {
    cli: false,
    example: false
  }
}

align

Type: string
Default: left

specify how to align of the content left,center.

npm

Type: boolean
Default: true

allow npm version badge to be generated in the file

licence

Type: boolean
Default: true

allow licence badge to be generated in the file

api

Type: boolean
Default: true

allow api header to be generated in the file

badges

Type: object

choose the badges to include in the file

	 badges:{
             dependancy: false,
             build: false,
             cov: false,
             download: false
	 }
contents

Type: object

choose the headers to include in the file

	 contents:{
             cli: false,
             example: false,
	 }

License

MIT © abdelhak akermi

Keywords

readme

FAQs

Package last updated on 14 Jan 2018

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