All Projects → jonschlinkert → readme-generator

jonschlinkert / readme-generator

Licence: MIT license
Generate a readme from a template and package.json data. If you need something more comprehensive, I recommend using Verb.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to readme-generator

cargo-scaffold
cargo scaffold lets you scaffold and generate projects described in a simple TOML file
Stars: ✭ 34 (+88.89%)
Mutual labels:  generate, templates
The Documentation Compendium
📢 Various README templates & tips on writing high-quality documentation that people want to read.
Stars: ✭ 4,306 (+23822.22%)
Mutual labels:  readme, templates
Awesome Readme
A guide to writing an Awesome README. Read the full article in Towards Data Science.
Stars: ✭ 65 (+261.11%)
Mutual labels:  readme, templates
arthurspk
Esse repositório contém as informações do meu readme que está presente na página principal do meu perfil do github.
Stars: ✭ 84 (+366.67%)
Mutual labels:  readme
BlackIQ
Who I am !?
Stars: ✭ 19 (+5.56%)
Mutual labels:  readme
simplest view
SimplestView gives us the power to split Rails Views out from our Templates
Stars: ✭ 41 (+127.78%)
Mutual labels:  templates
django-template
A battle-tested Django 2.1 project template with configurations for AWS, Heroku, App Engine, and Docker.
Stars: ✭ 64 (+255.56%)
Mutual labels:  templates
django-apptemplates
Django template loader that allows you to load and override a template from a specific Django application.
Stars: ✭ 43 (+138.89%)
Mutual labels:  templates
README
📄 How to write a good README
Stars: ✭ 34 (+88.89%)
Mutual labels:  readme
auto-commit-msg
A VS Code extension to generate a smart commit message based on file changes
Stars: ✭ 61 (+238.89%)
Mutual labels:  generate
visitor-count-badge
[DEPRECATED], please see --->
Stars: ✭ 100 (+455.56%)
Mutual labels:  readme
man-to-md
Converts man pages to Markdown
Stars: ✭ 51 (+183.33%)
Mutual labels:  readme
drupal-template-helper
Debug Drupal 8 templates in Chrome Devtools. drupal-template-helper is a chrome extension for Drupal that lists all available templates and the preprocess hooks to use to customize your templates.
Stars: ✭ 115 (+538.89%)
Mutual labels:  templates
okty
The simplest application to create and customize your docker projects
Stars: ✭ 48 (+166.67%)
Mutual labels:  generate
Azia-Admin-Bootstrap-Template
Free Bootstrap 4 Admin template
Stars: ✭ 73 (+305.56%)
Mutual labels:  templates
readme-ascii
Turns text into images of ASCII art for GitHub README files.
Stars: ✭ 48 (+166.67%)
Mutual labels:  readme
dakshp07
Personal Portfolio
Stars: ✭ 14 (-22.22%)
Mutual labels:  readme
test-data-generation
Test Data Generation
Stars: ✭ 35 (+94.44%)
Mutual labels:  generate
zsh-launchpad
🚀 Simple, educational dotfiles template to get started with Zsh and learn about its features
Stars: ✭ 141 (+683.33%)
Mutual labels:  templates
jest-badges-readme
Creates a group of coverage badges from Jest into your README
Stars: ✭ 30 (+66.67%)
Mutual labels:  readme

readme-generator

Generate your project's README from package.json data! Uses Lo-Dash/Underscore-style templates. Need something more powerful and pluggable? Try verb instead!

Install

Install with npm

$ npm i -g readme-generator

CLI

From the command line, run:

$ readme
$ readme -t # readme template to use

Data

package.json and the parsed argv object are used as context for templates.

Example

Given the template Name: <%= foo %>, the following:

$ readme --foo bar

Would render Name: bar

README.md template

ERB/Lo-dash style templates may be used.

Examples

<%= name %>
<%= description %>
<%= license %>
<%= Object.keys(dependencies).join(', ') %>

Anything that works for Lo-Dash/Underscore templates should work here.

Custom template

If you add a .readme.md to the root of your project it will automatically be used. Or you can specify a custom template to use with the -t command.

If .readme.md and -t are not defined, the template.md in the root of this project will be used.

Escaping

Sometimes it's necessary to escape templates, like when you're documentation includes examples of templates. You can escape templates by adding an extra % in the opening delimiter.

Example

<%%= foo %>

Will render to:

<%= foo %>

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Jon Schlinkert

License

Copyright © 2018 Jon Schlinkert Licensed under the MIT license.


This file was generated by readme-generator on March 31, 2018.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].