Тёмный

NPM Node Package Manager Modules | NPM Tutorial for Beginners 

Dave Gray
Подписаться 309 тыс.
Просмотров 30 тыс.
50% 1

Web Dev Roadmap for Beginners (Free!): bit.ly/DaveGrayWebDevRoadmap
NPM (Node Package Manager) Modules allow you to add additional functionality to your Node.js apps. In this NPM Tutorial for Beginners you will learn how to add Node Modules to both production and development builds of your application.
🚩 Subscribe ➜ bit.ly/3nGHmNn
🚀 This lesson is part of a Node.js for Beginners tutorial series playlist:
• Node.js Tutorials for ...
NPM Node Package Manager Modules | NPM Tutorial for Beginners
(00:00) Intro
(00:05) Welcome and Overview
(00:29) What is NPM?
(01:35) Goals for tutorial
(01:46) How to find the NPM documentation
(02:30) How to install an NPM package globally
(05:00) npm init
(06:16) package.json
(07:05) Installing a production dependency
(07:51) Node modules
(09:47) Using a package in your application
(11:16) Installing a dev dependency
(12:04) NPM scripts
(14:07) Adding another production dependency
(14:42) Importing a package with an alias
(16:58) Searching for npm packages
(18:43) Semantic versioning
(21:15) How to update dependencies
(21:47) How to uninstall an NPM package
📚 References:
Node.js Official site: nodejs.org
NPM Official site: www.npmjs.com/
✅ Follow Me:
Twitter: / yesdavidgray
LinkedIn: / davidagray
Blog: yesdavidgray.com
Reddit: / daveoneleven
Was this tutorial about NPM aka Node Package Manager and node modules helpful? If so, please share. Let me know your thoughts in the comments.
#npm #node #modules

Наука

Опубликовано:

 

2 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 65   
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
Working with NPM is mandatory foundational knowledge as you learn Node.js. Node Package Manager (NPM) allows developers to create shareable modules and share them with the world - including us! Instead of re-creating the wheel, we can search for existing packages to import into our projects that meet our needs. If you're just starting out with Node JS, you may want to go to the beginning of this Node JS for Beginners playlist: ru-vid.com/group/PL0Zuz27SZ-6PFkIxaJ6Xx_X46avTM1aYw
@harishankaran1745
@harishankaran1745 3 месяца назад
I was searching for node course with good tutor for a week and finally i found this playlist. It is awesome and very easy to understand. Thx dude
@walker_sean
@walker_sean 3 месяца назад
highly recommanded as quick introduction to getting familiar with npm
@kostiantynkarzhanov9216
@kostiantynkarzhanov9216 8 месяцев назад
Thank you! Very well explained! 💛
@fredericouedraogo2613
@fredericouedraogo2613 10 месяцев назад
very clear and understandable. I am really enjoying this channel👍
@SimPwear84
@SimPwear84 2 года назад
This is such a great series. I am enjoying every lesson. You got an amazing teaching style that really helps topics sink in. SUBBED!!
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
Thank you for the kind words! 💯
@rokibgyimah8675
@rokibgyimah8675 3 месяца назад
Highly recommanded to getting familiar with npm, thanks.
@codingispower1816
@codingispower1816 Год назад
Love your channel Dave! I used some of your react tutorials to prepare for job interviews and they paid off! I am continuing to learn from you b/c your content helps me become even better in my current position. You rock!
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
That is awesome! So glad I could help you in your career! I love feedback like this! 💯🚀
@MuhammadAwais-rp8po
@MuhammadAwais-rp8po 2 года назад
Love your explanation!
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
Thank you, Muhammad. 🙏💯
@khaoulaschmidt4560
@khaoulaschmidt4560 2 года назад
It's crazy how you explain things very well, I'm understanding easily ! thank you, I tried to understand it by documentation, but it's different et simple with these videos ! Thank you
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
Glad it was helpful! 💯
@fal8202
@fal8202 2 года назад
to learn programming from your videos is a truly educational and enjoyable experience 👏
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
Glad to hear that! Thank you! 🙏
@ahmad-murery
@ahmad-murery 2 года назад
Good intro to NPM, I like NPM but I often see people install a lot of dependencies just to get benefit from some basic stuffs, Thirsty for more coding, Thanks Dave
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
Very true, Ahmad. It can be abused. At the same time, it has many good uses and is foundational knowledge for working with Node JS. Thanks for the comment! 💯
@yadyad3832
@yadyad3832 Год назад
Thank you Mr Dave Your way of teaching is very good High quality and professional
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
You are very welcome!
@cyberpaimpol
@cyberpaimpol Год назад
As an old sckool dev (backend PHP / MySQL) i discover another world. So many thx !
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
You're welcome!
@Shejil1234
@Shejil1234 Год назад
one of the best tutor i found on youtube
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Thank you!
@loikvokhidov7688
@loikvokhidov7688 Год назад
So easy to follow🤘
@kenansari
@kenansari 2 года назад
such a beautiful channel!
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
Thank you 🙏 Up next is the events module and Event Emitter. 🚀
@kenansari
@kenansari 2 года назад
@@DaveGrayTeachesCode 🙏
@sanmarchen
@sanmarchen 10 месяцев назад
Best teacher ever😇
@benjaminnwokolo2935
@benjaminnwokolo2935 Год назад
Learnt a lot 💯🔥
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Glad to hear that!
@Konslufius
@Konslufius Год назад
Bro, this video about Nervous Penpal Message, taught me so much and at a fast pace. Uni profs should take note of you.
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Thank you! I do teach part-time (adjunct) at a university, too. 💯
@TravinskiyVladislav
@TravinskiyVladislav Год назад
Thank you again
@FacundoCastellano
@FacundoCastellano 11 месяцев назад
thanks bro!
@okumorphilip8087
@okumorphilip8087 Год назад
Dave the Saver. when i get my first Dev Job, I get you Coffee drunk, Thanks alot once again
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Thank you! ☕☕☕☕
@sonamohialdin3376
@sonamohialdin3376 Год назад
So good tutorial
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Thank you, Sona! 💯
@tambow44
@tambow44 3 месяца назад
How do you say “nodemon”? Probably everyone: “node mon” Me at 2.30am on a school night: “no demon!!!!!”
@DaveGrayTeachesCode
@DaveGrayTeachesCode 3 месяца назад
😆
@gimtwi
@gimtwi 2 года назад
npm as a "Ninja Pumpkin Mutants" i like it! 😂
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
😂😂
@alirezahekmati7632
@alirezahekmati7632 2 года назад
🚀
@raymondmichael4987
@raymondmichael4987 2 года назад
Good series you got here, better make numbered tutorial like #-topic: tutorial
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
Thank you! 🙏 The playlist is provided in order here: ru-vid.com/group/PL0Zuz27SZ-6PFkIxaJ6Xx_X46avTM1aYw
@shanemarchan658
@shanemarchan658 2 года назад
hey Dave, I know this is off topic. but can u explain this function. const range = (start, stop, step) => Array.from({ length: (stop - start) / step + 1}, (_, i) => start + (i * step)); from mdn under array.from as well as let range = { from: 1, to: 5 }; // 1. call to for..of initially calls this range[Symbol.iterator] = function() { // ...it returns the iterator object: // 2. Onward, for..of works only with this iterator, asking it for next values return { current: this.from, last: this.to, // 3. next() is called on each iteration by the for..of loop next() { // 4. it should return the value as an object {done:.., value :...} if (this.current
@DaveGrayTeachesCode
@DaveGrayTeachesCode 2 года назад
Definitely off the topic of this video tutorial, but I could do a tutorial on the topic you are asking about sometime. 😀 MDN is a great source to look up each part of your question such as symbol.iterator: developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/iterator
@MguelMallet
@MguelMallet Год назад
hi Dave Im using the latest version of node. One thing i noted when using the function to format date fron date-fns. the syntax as you write it result in application crash telling me date is not defined. the variable date need to be defined first like const d = new date(). then we use the date format function: console.log(format(d, 'yyyy-MMM-dd') then i get the proper result.
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
You must have missed where I created the new date because I did not crash and this has not changed due to a Node release.
@vandankakrecha4771
@vandankakrecha4771 7 дней назад
I have one issue!!! When i type 'nodemon' and enter after installing it terminal gives error that first it gives path and then it says script is disabled on this system. Anyone can give solution of it.....
@jiweihe3413
@jiweihe3413 Год назад
thanks. I encountered some problem installing nodemon... It cannot be run after installation: "nodemon : The term 'nodemon' is not recognized as the name of a cmdlet, function, script file, or operable program. "
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Follow their installation guide here: www.npmjs.com/package/nodemon
@michaelrodrigues6372
@michaelrodrigues6372 Год назад
is there a repo of this node course in your github?
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Hi Michael - not for the first 5 chapters as they are only examples. Starting with Chapter 6, each lesson has source code available here: github.com/gitdagray/node_js_resources
@okumorphilip8087
@okumorphilip8087 Год назад
Maybe you should apply for a lecturing Job Dave
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
Thanks - I was previously at a university full-time. Now part-time university and full-time dev.
@kingsleyunorji5044
@kingsleyunorji5044 Год назад
whenever i type this command "npm i nodemon -g " it shows this changed 32 packages, and audited 33 packages in 1s 3 packages are looking for funding run `npm fund` for details found 0 vulnerabilities i then went ahead to type nodemon in the terminal and i get this nodemon: command not found any advise to give please
@DaveGrayTeachesCode
@DaveGrayTeachesCode Год назад
The first part of the message is a standard type of return after installing a package with npm. The second part - why just type nodemon in the terminal? It must run on Node. In this video, I believe I show how to set up the script you need in your package.json file to run it.
@kingsleyunorji5044
@kingsleyunorji5044 Год назад
solved it
@kingsleyunorji5044
@kingsleyunorji5044 Год назад
@@DaveGrayTeachesCode solved it thank you
@sara-gd2uh
@sara-gd2uh 9 месяцев назад
@@kingsleyunorji5044 how please , i'm facing the same problem
@reezus_
@reezus_ 11 месяцев назад
First, I want to say thank you and great job with this video. However, even though you say for beginners, I feel your tutorials are hard for someone who's not familiar with what your teaching and is actually a beginner. When i watch your tutorials, i need to go learn elsewhere first then come back here to enhance what i know and even at that the new concepts i get from your video are always hard to understand. Just constructive criticism, great video still!
Далее
Node Events Tutorial | Node.js Tutorials for Beginners
15:32
How is it possible? 🫢😱 #tiktok #elsarca
00:13
Просмотров 2,8 млн
How to make your own NPM package (Step-by-Step) 📦
16:46
Learn TypeScript Generics In 13 Minutes
12:52
Просмотров 210 тыс.
NPM Crash Course
42:03
Просмотров 316 тыс.
JavaScript Modules Crash Course
48:38
Просмотров 44 тыс.
wyłącznik
0:50
Просмотров 23 млн