Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

readme-md-generator

kefranabg3.4kMIT1.0.0

CLI that generates beautiful README.md files.

readme, md, cli, generator, template

readme

Welcome to readme-md-generator 👋

downloads License: MIT gitmoji-changelog Twitter: FranckAbgrall

CLI that generates beautiful README.md files.
readme-md-generator will suggest you default answers by reading your package.json and git configuration.

✨ Demo

readme-md-generator is able to read your environment (package.json, git config...) to suggest you default answers during the README.md creation process:

demo

Generated README.md:

cli output

Example of package.json with good meta data:

// The package.json is not required to run README-MD-GENERATOR
{
  "name": "readme-md-generator",
  "version": "0.1.3",
  "description": "CLI that generates beautiful README.md files.",
  "author": "Franck Abgrall",
  "license": "MIT",
  "homepage": "https://github.com/kefranabg/readme-md-generator#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/kefranabg/readme-md-generator.git"
  },
  "bugs": {
    "url": "https://github.com/kefranabg/readme-md-generator/issues"
  },
  "engines": {
    "npm": ">=5.5.0",
    "node": ">=9.3.0"
  }
}

🚀 Usage

Make sure you have npx installed (npx is shipped by default since npm 5.2.0)

Just run the following command at the root of your project and answer questions:

npx readme-md-generator

Or use default values for all questions (-y):

npx readme-md-generator -y

Use your own ejs README template (-p):

npx readme-md-generator -p path/to/my/own/template.md

You can find ejs README template examples here.

Code Contributors

This project exists thanks to all the people who contribute. [Contribute].

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

🤝 Contributing

Contributions, issues and feature requests are welcome.
Feel free to check issues page if you want to contribute.
Check the contributing guide.

Author

👤 Franck Abgrall

Show your support

Please ⭐️ this repository if this project helped you!

📝 License

Copyright © 2019 Franck Abgrall.
This project is MIT licensed.


This README was generated with ❤️ by readme-md-generator

changelog

Changelog

1.0.0 (2019-12-03)

Added

  • ✨ Ask for package manager when is JS project [29986ce]
  • ✨ Ask user for a link to contributing guide (fixes #168) (#179) [310a8b1]
  • ✨ Ask author's linkedin username (fixes #170) (#177) [10954d1]

Changed

  • ⬆️ Update yargs to the latest version (#186) [16d7ceb]
  • ⬆️ Update ejs to the latest version (#187) [139e906]
  • 🔧 Update CI tiggers (#184) [6ef2be8]
  • ⬆️ Update ora to the latest version (#181) [c563d9d]
  • 🔧 Move CI from CircleCI to GitHub actions [a132525]
  • 🔧 Update FUNDING.yml [83be6c0]

Fixed

  • 🐛 Fix version badge label when contains _ or - (#190) [6c345b5]
  • 🐛 Execute default function to get default answer when -y flag is passed (#185) [89cd82d]
  • 🐛 Escape markdown characters in social network questions answers (#183) [d96e310]
  • ✏️ Use gender neutral in comment (#174) [9f78778]
  • 🐛 Fix InstallCommand test name [279711f]

Miscellaneous

  • 📝 Add open collective to readme (#192) [81e3873]
  • 📝 Add anku255 as a contributor for test and bug (#182) [7624889]

0.7.0 (2019-11-01)

Added

  • ✨ Add Author Github website url if exists (fixes #124) (#145) [541d6e5]

Changed

  • ♻️ re-use prettier regexp across scripts (#159) [576e367]
  • 🔧 Add prettier fix command (#158) [da2c700]

Fixed

  • 🐛 Don't suggest install default value when project is not a js project (#169) [672d591]
  • 🐛 Fix static badge generation when license name contains special characters (#141) [5b8bc08]

Miscellaneous

0.6.4 (2019-10-09)

Added

  • ✨ Add check for overwrite readme (#143) [2e12553]
  • ✨ Display license badge even when there is no license url (#139) [a60627c]
  • ✨ Ask for demo link during README creation process (#102) (#130) [f4d6ad4]
  • ✨ Add dynamic license badge (#131) [86bdac5]

Changed

0.6.3 (2019-09-24)

Added

  • ✨ Update issue templates [3d5c28b]
  • ✨ Add link to npm on version badge (#99) [fdfe6e3]
  • ✨ Add dynamic version badge if package exists on NPM (#94) [0a11d2a]

Changed

  • ⬆️ Update ora to the latest version (#122) [ffb4d11]
  • 🔧 Add gh package registry config (#115) [af1fb5a]
  • ⬆️ Upgrade date-fns version (#113) [eacad62]
  • ⬆️ Upgrade inquirer to the latest version 🚀 (#110) [f6fc84e]
  • ⬆️ Bump mixin-deep from 1.3.1 to 1.3.2 (#112) [4e0abc4]
  • ⬆️ Bump eslint-utils from 1.3.1 to 1.4.2 (#111) [f0e09ac]
  • 🎨 Format Github issue templates [95f44d2]
  • ⬆️ Update yargs to the latest version (#104) [d66db07]
  • ⬆️ Update inquirer to 6.5.1 (#101) [af8fbe6]
  • ⬆️ Update eslint-config-airbnb-base to 14.0.0 (#100) [85ffea5]
  • ⬆️ Bump lodash from 4.17.11 to 4.17.13 (#98) [99dc774]
  • 🔧 Ignore .git file in order to fix an npm bug [f940f13]

Fixed

Miscellaneous

0.5.2 (2019-07-08)

Added

  • ✨ Filter social network inputs to remove potential @ (#93) [ccae357]

Miscellaneous

  • Update readme and contributors to reflect username change (#91) [b2be60e]

0.5.1 (2019-07-05)

Fixed

  • 🐛 Prevent encoding utf-8 chars in README (#88) [8059756]

0.5.0 (2019-06-27)

Added

  • ✨ Allow user to choose a non HTML README template (#80) [6d5c884]
  • ✨ Allow user to specify path to custom README template (#68) [e0d66c0]
  • ✨ Get author name from package.json even if author prop is an object (#75) [688c338]

Changed

  • ⬆️ Update eslint to the latest version (#70) [88c96ac]
  • ⬆️ Update inquirer to the latest version (#67) [59f69e5]
  • ♻️ Refactoring inquirer code (#69) [802d57d]

0.4.0 (2019-06-20)

Added

Fixed

  • 🐛 Prevent from using inquirer 6.4 [688c754]

Miscellaneous

  • 👥 Add contributors [2533cd8]
  • docs: add kefranabg as a contributor (#57) [e5d9d53]
  • 📝 Update README [0dff1e5]
  • 📝 Replace static version badge by a dynamic one [99a507d]
  • 📝 Update doc to use npx (#55) [77d6fdc]
  • 📝 Update badge list on README [e87ed1a]
  • 📝 Add available options in README (#49) [93da519]

0.3.0 (2019-06-15)

Added

  • ✨ Add --yes flag (#45) [f0e2bd6]
  • ✨ Add prerequisites badges (#38) [e7e3590]
  • ✅ Add missing test to readme generation [d5027e4]
  • ✨ Add Twitter follow badge (#35) [58034a0]
  • ✨ Improve README template [7a12c8a]
  • ✨ Improve README content [ffd6e1f]
  • ✨ Adding some commands [6850244]
  • 🔊 Add logs in writeReadme [772d536]
  • ✨ Add homepage link if exist [1c1bf08]

Changed

  • 💄 change prerequisite badges color (#43) [e888726]
  • 🔧 Move some dependencies in devDependencies [0038201]
  • 💬 Update badge version in README [e5d418c]

Fixed

  • 🐛 Fix current working directory error (#46) [6c184ba]
  • 🐛 Fix error when package.json does not exist (#42) [fe0fc61]
  • ✏️ Remove whitespace before punctuation marks (#36) [094f9fb]
  • 🐛 Get doc url from only if github repos [62109c4]

0.1.4 (2019-06-11)

Added

  • ✨ Add instruction in README [8f32674]
  • ✅ Add missing test for cli [cdd7df6]
  • ✨ Improve README content [9bb7e90]
  • ✅ Add cli tests [2c5ed1e]
  • ✅ Add tests for project infos module [aae1bc6]
  • ✨ Improve README content [34d475c]
  • ✅ Add tests for questions [576a290]
  • ✅ Add tests for readme file [0e18c2e]
  • ✨ Enable code cov (#23) [46d21b5]
  • ✨ Add log infos during process [912c602]
  • ✨ Improve README [a8ff226]
  • ✨ Improve README [83796b2]
  • ✨ Add some badges [3174ab9]
  • ✨ Add documentation badge [dd435ca]
  • ✨ Add license url and name auto detection [d2ee432]
  • ✨ Add prerequisites section in README [9924f72]
  • ✨ Add npm version infos [9ce8bb6]
  • ✨ Add default value for github username if repos is github [a59520f]
  • ✨ Add contributing section [d0f61f9]
  • ✨ Improve README content [01134d2]
  • ✨ Improve README content [5c4c2e8]
  • ✨ Improve README content [0b4fe40]
  • ✨ Improve support section in README [91a6f9e]
  • ✨ Add license to README [096d44f]
  • ✨ Renaming questions function names [8907db0]
  • ✨ Add Greenkeeper 🌴 [f69b4ad]
  • ✨ Add support section in README [b16af00]
  • ✨ Add footer in README [3d2cd7d]
  • ✨ Update README.md [699f250]
  • ✨ Add author information in README [2337d6b]
  • ✨ Improve author infos logic [5d4cf6f]
  • ✨ Add author information in README [665303a]
  • 🎉 Initial commit [500b2e8]

Changed

  • 🎨 Improve README structure [1ced8d6]
  • 💬 Fix README format [20005b6]
  • 🔧 Update jest config [3a9d847]
  • 🔧 Add jest config [5f629ed]
  • ♻️ Code refactoring [79cfbbf]
  • ♻️ CLI refactoring [ead151b]
  • ♻️ Code refactoring [1ae6c40]
  • 💬 Rename command in README [4279e2e]
  • 💬 Update project name [2cad8e3]
  • 🔧 Add bin config [56d7e78]
  • 💬 Improve questions text [67d611b]
  • ♻️ Utils code refactoring [97d675e]
  • ♻️ Code refactoring [c14974c]
  • 🎨 Improve README title [8c79b5e]
  • 🎨 Improve support section in README [e855e38]
  • 💬 Update project description and README footer texts [b1c9a87]
  • 🎨 Improve template format [d27649f]
  • ♻️ Questions and utils code refactoring [a5b5a4c]
  • ♻️ Questions and utils functions refactoring [177c086]
  • 🚨 Fix file format with prettier [aa6e3eb]

Removed

  • 🔥 Remove unused export [bdc0e3e]

Fixed

  • 🐛 Fix badge bad link [d8c8e45]
  • 🐛 Fix bug when engines infos were not found [918140e]
  • 🐛 Fix badges links [acd0a22]
  • 🐛 Fix badge display [623afd9]
  • 🐛 Fix author infos [2d8b2c2]

Miscellaneous

  • 0.1.4 [65ddd76]
  • 📝 Add demo to README [19f04e2]
  • Merge pull request #20 from kefranabg/greenkeeper/initial [acfa940]
  • docs(readme): add Greenkeeper badge [d3ad805]
  • 📝 Update project description [6fadc05]
  • Update README [ee6f44f]
  • docs(readme): add Greenkeeper badge [1d6fe09]
  • Initial commit [dd97da0]