Join Joseph LeBlanc for an in-depth discussion in this video Using modules, part of Node.js First Look.
- View Offline
- Exercise Files
Once you find suitable modules for your Node project, it's time to list them out…and have them installed.…NPM provides a standardized way of creating this list and…automatically installing modules.…In this script, we've already decided that we want to use the node-markdown…module. We're taking some markdown and converting it into HTML using the parser…that's provided by node-markdown.…Now let's create a file that will list out all the requirements for our project,…go to the command prompt and change directory to Desktop/html.…
From here type in npm init.…When you type Enter, it'll give you some instructions and allow you to…define your project.…So from the name of the project, we'll just have it be the same name as the…folder html, we're going to accept 0.0.0 as the version, leave the description…alone, script.js is fine as the entry point, we don't have to do a test command,…or a git repository or keywords.…For the author, type in your name and you can accept BSD as the default license…or enter any license you wish.…
- Using the Socket.IO Node package to achieve "live" effects like Facebook notifications
- Scraping web sites using jQuery without a browser
Skill Level Beginner
XHTML and HTML Essential Trainingwith Bill Weinman4h 44m Beginner
1. Installing Node
2. Getting Started
Running a Node script2m 6s
4. Command Line Scripts
5. Creating Web Servers
7. WebSocket Programming
8. Connecting Beyond Node
- 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.