Skip to content

ProfessorSolo/Node2Know-HelloNode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node2Know — HelloNode

The smallest possible Node.js program.

This repo is intentionally tiny so we can focus on the workflow:

  • run a Node script from the terminal
  • re-run it with Node’s built-in watch mode

✅ Prereqs

  • Node.js installed (includes node)

Check your version:

node -v

▶️ Run the script

This repo contains a single file:

  • app.js

Run it:

node app.js

You should see:

Hello, Node

👀 Run with watch mode

Node can automatically re-run your script when files change:

node --watch app.js

Now edit app.js (change the message), save, and watch Node re-run it.

To stop watch mode:

  • Press Ctrl + C

📁 Project Structure

.
├── app.js
└── README.md

License

Node2Know-Learn-1.0 (see LICENSE).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors