/node_create-file-from-input

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Create a file from input

Read the guideline before start

Implement an app that will create a file with a given name and content.

  1. When the app is launched, ask the user to enter the file name.
    • Make sure provided file name is not an empty string.
  2. When the file name is provided, ask to enter the content.
  3. When the user completes interaction, your app must create a file and output Success or Error depending on the result of creation.