Section 1

Preview this deck

Using a Package (2)

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (5)

Section 1

(5 cards)

Using a Package (2)

Front

Create a Node.js file that will convert the output "Hello World!" into upper-case letters:

Back

Using a Package (1)

Front

Once the package is installed, it is ready to use. Include the "upper-case" package the same way you include any other module:

Back

What is a Package?

Front

1- A package in Node.js contains all the files you need for a module. 2- Modules are JavaScript libraries you can include in your project.

Back

Download a Package

Front

Downloading a package is very easy. Open the command line interface and tell NPM to download the package you want.

Back

What is NPM?

Front

1- NPM is a package manager for Node.js packages, or modules if you like. 2- www.npmjs.com hosts thousands of free packages to download and use. 3- The NPM program is installed on your computer when you install Node.js. 4- NPM is already ready to run on your computer!

Back