- Create the following folder/file structure:
/ex_7
|-- index.js
|-- greeter.js
- Init an NPM project inside the ex_7 folder
- Use ex_7 as project name
- Add a start script to run the index.js file
- Copy and paste the code from previous exercise
- Export the
greet
function
- Require the
greeter
module - Call the
greet
function and pass the following parameter:- Your first name
- Your last name
- A function that shows the following message: We're using node modules yeah!!!