Code Monkey home page Code Monkey logo

make_me_read's Introduction

Make Me Read

Utilizing the Node JS Inquirer Library we can generate a readMe.md using prompted questions from the computer terminal. YouTube Walkthrough Video

Table of Contents:

Installation

Node JS needs to be installed on your computer.

DEPENDANCIES:

In order to install the necessary dependencies, open the console/terminal, and get inside project folder. Verify that The file folder contains the package.json file. The file lets the initail installation know what additional/necessary libraies are needed to fun the program. Instal with the following comand:

npm install

If the package.json file isn't availbe then verify that you have Node JS on your computer byt checking for the node version with the command:

node -v

The response should be or simmilar:

v15.2.0

From the project folder location us the command:

npm init -y

This will create the package.json file. Check the declared required files and install the acccordingly. For Example"

If a required library is mentions in the JS file simply us the command:

npm install inquirer

Once your libraries are installed you can run the file with the command:

node index.js

Usage:

Once the file has been run through Terminal the user will be prompted to ask some information about the project to build ou the project.

const questions = () =>
    inquirer.prompt([
        {
            type: "input",
            name: "author",
            message: "What is the author's name?"
        },
        {
            type: "input",
            name: "username",
            message: "What is your GitHub username?"
        },

I used a template to fill in the informations I needed for the page badges.

let badge = "";
    if(data.license == "MIT"){
        badge = "![License](https://img.shields.io/static/v1?label=License&message=MIT&color=blueviolet&style=plastic)"
    }else if (data.license == "APACHE 2.0"){
        badge = "![License](https://img.shields.io/static/v1?label=License&message=APACHE2.0&color=blueviolet&style=plastic)"
    }else if (data.license == "GPL 3.0"){
        badge = "![License](https://img.shields.io/static/v1?label=License&message=GPL3.0&color=blueviolet&style=plastic)"
    }else if (data.license == "BSD 3"){
        badge = "![License](https://img.shields.io/static/v1?label=License&message=BSD3&color=blueviolet&style=plastic)"
    }

You can find my project repository Here

License:

This project is licensed under: MIT

Contributing:

There are no contributions at this time

Tests:

In order to test open the console and run the following:

there are no tests at this time

Questions:

If you have any questions contact me on GitHub or contact Gloria Varela at [email protected]

make_me_read's People

Contributors

gcvarela21 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.