Join Alex Banks for an in-depth discussion in this video Report progress with setInterval, part of Node.js Essential Training.
So we're going to multiply the current time…divided by the wait time times 100 and then trim…off the decimal using math dot floor.…So now we're actually going to take a little bit…more control over the terminal using process…standard output.…Process standard output std out lets us clear…the last line.…So this will get rid of the last line…that we wrote to the terminal.…And we can also move the cursor back to the start position.…Process std out dot cursor to will move…
- What is Node.js?
- Installing Node.js
- The global object
- Importing the core modules
- Creating custom events with the EventEmitter
- Reading, writing, and removing files
- Working with file streams
- Creating child processes with the exec and spawn functions
Skill Level Intermediate
Node.js: Real-Time Web with Socket.IOwith Emmanuel Henri1h 24m Intermediate
1. What Is Node.js?
2. Set Up Your Environnment
3. Node Globals
4. Node Modules
5. File System Basics
6. Files and Streams
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.