Skip to main content

Exercise 3

  • Create the following folder/file structure:
/ex_3
|-- index.js
  • Init an NPM project inside the ex_3 folder
  • Use ex_3 as project name
  • Read the logplease module documentation and learn to use it
  • Install the logplease module as dev dependency
  • Configure the start script so it runs index.js

index.js

  • Show the following output using the logplease module
Hello Node.js (use debug method)
Node.js is great!! (use info method)
Warning, Warning, I think we have a Warning (use warn method)
Mayday Mayday, we have an errro, repeat.. we have an error (use error method)