3.0.0 • Published 3 months ago

pkg-to-readme v3.0.0

Weekly downloads
89
License
MIT
Repository
github
Last release
3 months ago

pkg-to-readme

Generate README.md using package.json from command line.

Install

Install with npm

$ npm install pkg-to-readme -g

Usage

from Command line

$ pkg-to-readme

Options
-t, --template  Path to template file. default: ~/.readme-genrc
-o, --output    Path to output. default: ./README.md 
-f, --force     Force update

Example:

$ pkg-to-readme --template path/to/template.md --output path/to/README.md

from Node.js

pkg-to-readme is a pure esm module.

import { pkg2readme } from "pkg-to-readme";
readmeGen({
    cwd: __dirname,
    output: outputPath,
    template: path.join(__dirname, "./fixture/README.ejs")
}).then(() => {
    // ok
});

Running tests

Install dev dependencies:

$ npm test

License

MIT © azu

Thanks

Base on akameco/readme-gen: README generator for node.js.

@akameco

3.0.0

3 months ago

2.0.0

10 months ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago