The package.json file is at the heart of any project that uses npm as a package manager. When you run npm install in a folder that contains a package.json file, all of the project dependencies are automatically downloaded.
- [Alex] Thus far, we've been using core modules. … Those are the modules that come with your installation … of Node.js. … But there are other modules out there too, … community modules created by many open source developers. … This is npmjs.com. … This is where the Node.js community modules … You can come here to find node modules … and even publish your own. … npm also offers private accounts … so your business can publish and share modules privately … with npm as well. … If you've installed Node, then you've already installed npm. … You can check your npm version by running npm dash v. … In this chapter, we're going to build a countdown clock, … but instead of building this clock from scratch, … we're going to use some Node packages … that are already out there hosted on npm … to do the heavy lifting for us. … the first thing that we need to do … is create a package.json file. … And you can do this by running npm init. … And it will ask you some questions. … So this package that we're going to create …
- 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.