Default name is name of folder you’re in (Node)
- enter
Version #
Description: What is the project about? It’s a tutorial, so let’s name it such.
GitHub link.
Entry Point: Which file should we use to start this node application. (his says app.js, by default, mine says folders)
test command: -return-
git repository: your GIThub url
keywords:
Author: ML
license: ISC
okay? : yes

You can see the package created in the explorer panel!

Also there’s a quick notice of a new version of npm, so I update that in the terminal.
Now we’re installing packages (reusable code in our own app) with nom. Let’s go code shopping at npmjs.com!
Found a code - let’s install;

And it appears in our JSON package.

There’s also a new folder (there’s several folders in here) with information about the package - lodash. I’m guessing more installed programs would be placed in here in their own folders.

In order to use this, we’re going to go way back to our app file and tell it to call our package.


We can also uninstall it with npm uninstall lodash, which removes it from dependencies and the module folder would disappear.
- enter
Version #
Description: What is the project about? It’s a tutorial, so let’s name it such.
GitHub link.
Entry Point: Which file should we use to start this node application. (his says app.js, by default, mine says folders)
test command: -return-
git repository: your GIThub url
keywords:
Author: ML
license: ISC
okay? : yes

You can see the package created in the explorer panel!

Also there’s a quick notice of a new version of npm, so I update that in the terminal.
Now we’re installing packages (reusable code in our own app) with nom. Let’s go code shopping at npmjs.com!
Found a code - let’s install;

And it appears in our JSON package.

There’s also a new folder (there’s several folders in here) with information about the package - lodash. I’m guessing more installed programs would be placed in here in their own folders.

In order to use this, we’re going to go way back to our app file and tell it to call our package.


We can also uninstall it with npm uninstall lodash, which removes it from dependencies and the module folder would disappear.
Comments
Post a Comment