In this video, further explore the countdown clock. To print stars in line, include the single-line-log npm package. To log command line arguments in a single line, use this reusable package that is distributed via npm.
- [Narrator] We're in the process … of building a countdown clock … using packages that we've installed with npm. … It looks like the next thing that we have to do … is print stars in-line. … In the first Node.js essentials course … we learned that we could write this code ourselves … from scratch using process standard output. … But somebody else might have already made this code … and they might have made a reusable package … that they've distributed on npm. … So what I need to do is write logs in a single line. … So within our search bar here, we're going to type log … in a single line and see what comes up. … It looks like we have a package called single-line log. … If I take a look at this package it seems like it's … been downloaded a lot, there's 13 versions. … It's been worked on a lot. … We also have some instructions here. … So it looks like if we require the single-line log, … which is the stud out function that is available … on this package, we can use it to keep our logs …
- Making HTTP requests
- Building web and file servers
- Installing packages with npm
- Managing and linking global packages
- Working with Express, the web server framework
- Handling POST and DELETE requests
- Creating WebSockets
- Testing and debugging Node.js code
Skill Level Advanced
Node.js: Real-Time Web with Socket.IOwith Emmanuel Henri1h 24m Intermediate
Work with VSCode1m 59s
1. The HTTP Module
3. Web Servers
5. Node.js Testing
6. Automation and Deployment
- 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.