Skip to content

larafoster/Good-Readme-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README GENERATOR

Description

You can quickly and easily create a README file by using a command-line application to generate one. This allows you, the project creator, to devote more time to working on the project.

Table of Contents

Installation

Once you clone this repository, you will need to open the terminal in the folder that contains your index.js file. First run 'npm install' to install node modules. Then run 'node index' to see the app in action.

npm install
node index

Usage

Once your node modules are installed, simply type 'node index' into the terminal and proceed through the questions. The generated Readme file will be in the Results FOLDER. There is help text that further assist you in building a robust and informative README.

Features

Some enhanced features include:

  • This generator only creates content for the sections that have inputs;
  • The Table of Contents items are dynamically created based on whether content exists;
  • There is help text throughout, so the user can expand on their readme content.

Project Links

View this app in motion:

Screenshots of app:

Credits

This project is created with the following technologies:


The code for this project was researched extensively. Here are a few of the tutorials I found helpful:

  • The “+=” operator

    Just like the “+” operator, the “+=” operator can be used for concatenation as well. If used with numbers, it’ll add the numbers and assign it to the variable at the left-hand side of the operator. But when used with one or more strings, it’ll automatically transform into yet another string concatenation operator and concatenate the two operands, even if one of them is a number.


  • if(x==2) dosomething();

    This is from stackoverflow: Omitting the second expression when using the if-else shorthand. user: ajax333221


  • Template Literals and String interpolation

    String interpolation is a process where you can pass a valid JavaScript expression such as a variable into a template literal. The expression inside ${} is evaluated, and the result of the evaluation is embedded into the string.


Contribute

Please feel free to fork this project and create your own branch. Any suggestions for improvement are welcomed.

License

This project is licensed under the MIT License

License: MIT

Questions

Contact me if you have any questions about this project:

You can find my projects on Github:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published