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: ua-cam.com/play/PL0Zuz27SZ-6PFkIxaJ6Xx_X46avTM1aYw.html
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
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
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! 💯
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!
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
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
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.....
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.
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. "
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
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.
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
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!
So many good nuggets in this one beside the main course. So many people get tripped on on the xx.xx.xx versioning system and what it means. Thanks for including those details that many others would just not bring up.
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: ua-cam.com/play/PL0Zuz27SZ-6PFkIxaJ6Xx_X46avTM1aYw.html
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
highly recommanded as quick introduction to getting familiar with npm
As an old sckool dev (backend PHP / MySQL) i discover another world. So many thx !
You're welcome!
This is such a great series. I am enjoying every lesson. You got an amazing teaching style that really helps topics sink in. SUBBED!!
Thank you for the kind words! 💯
It is a very useful course and the teaching expertise are amazing. Thank you very much Dave for giving us this quality of content!
to learn programming from your videos is a truly educational and enjoyable experience 👏
Glad to hear that! Thank you! 🙏
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
Glad it was helpful! 💯
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
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! 💯
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!
That is awesome! So glad I could help you in your career! I love feedback like this! 💯🚀
highly ecommended lecture for NPM 😍
one of the best tutor i found on youtube
Thank you!
Thank you Mr Dave
Your way of teaching is very good
High quality and professional
You are very welcome!
Highly recommanded to getting familiar with npm, thanks.
Bro, this video about Nervous Penpal Message, taught me so much and at a fast pace. Uni profs should take note of you.
Thank you! I do teach part-time (adjunct) at a university, too. 💯
Dave the Saver. when i get my first Dev Job, I get you Coffee drunk, Thanks alot once again
Thank you! ☕☕☕☕
very clear and understandable. I am really enjoying this channel👍
such a beautiful channel!
Thank you 🙏 Up next is the events module and Event Emitter. 🚀
@@DaveGrayTeachesCode 🙏
Love your explanation!
Thank you, Muhammad. 🙏💯
Best teacher ever😇
Thank you! Very well explained! 💛
thanks for this. really appreciated!
Learnt a lot 💯🔥
Glad to hear that!
So easy to follow🤘
How do you say “nodemon”?
Probably everyone: “node mon”
Me at 2.30am on a school night: “no demon!!!!!”
😆
npm as a "Ninja Pumpkin Mutants" i like it! 😂
😂😂
Good series you got here, better make numbered tutorial like #-topic: tutorial
Thank you! 🙏 The playlist is provided in order here: ua-cam.com/play/PL0Zuz27SZ-6PFkIxaJ6Xx_X46avTM1aYw.html
So good tutorial
Thank you, Sona! 💯
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
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
Why is your icons of node-modules and npm different from mine?
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.....
Thank you again
thanks bro!
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.
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.
Maybe you should apply for a lecturing Job Dave
Thanks - I was previously at a university full-time. Now part-time university and full-time dev.
Thanks
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. "
Follow their installation guide here: www.npmjs.com/package/nodemon
🚀
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
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.
solved it
@@DaveGrayTeachesCode solved it thank you
@@kingsleyunorji5044 how please , i'm facing the same problem
is there a repo of this node course in your github?
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
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!
Moore Kevin Lee Anthony Lee Charles
So many good nuggets in this one beside the main course. So many people get tripped on on the xx.xx.xx versioning system and what it means. Thanks for including those details that many others would just not bring up.