thank you so much for this video. there's a lot of videos where they explain about node js import and export, but nobody explain like this. it was really helpful
Hello owner of these videos I really appreciate your style of teaching , I request you to upload tutorials about AWS and IT project management so we can do freelancing
//simply code for tute11 and this is for path module let path= require('path'); console.log(path.basename('D:\NodeJs Practie')); console.log(path.dirname('D:\NodeJs Practie')); console.log(path.extname('D:\NodeJs Practie/tute7.js')); // console.log(path.format('D:\NodeJs Practie')); console.log(path.parse('D:\NodeJs Practie').ext);
Sir ek folder se dusre folder me kese jaye ?? Aap ne createfile folder me bhi index.js ka file bnayi h or import& export folder me bhi to ek folder se dusre folder me kese jaye
He is making his own module and importing that module from another file by calling. As each node js file is private, he writes->module.exports = add; To make it accessible from other file.
it is not working for me. I have solved 3 issues, like script not allowed, require not defined import don't work. then after these all it stopped giving me error. instead it now gives me (NaN) answer
module.exports is the older CommonJs syntax, while just writing export is the newer ESModule syntax. As per the newer syntax, you can just export a named function like this: function add(a, b) { return a + b; } export { add }; To import this function in another file: import { add } from "enter/filepath/here";
sirr!!!!!!!! callback function me jo aap "==>" esa arrow function use krte h mujhe ni pta lg rha kha se aata h vo vala jo aap likhte please sir apni next video me thoda bta dijiyega plssssssssssssss
Sir, clients के ecommerce website के लिए psd web templates कहां से buy करें। Sir, कुछ साइट्स एक ही templates या theme को कई बार sale करते हैं, तो सबका लेआउट एक जैसा ही होगा एक वेब templates, एक ही clients के लिए कहां से buy करें plz tell 10online premium templates selling website.
Guys, it's important video. Must watch✅.. n Plz Like n Share the videos with your friends and love ones too ok. 😀
Bhai mere lia ek website bana dogi
Please bhai mana mat karna
Sir plz make a video on crud operation in vue.js
Your videos are better than all youtuber tutorials man... I appreciate it
Thankyou so much for teaching this in very simple way and practical way too. I am watching this on 21/08/2024 and it still feels like the best course.
best vide on youtube to explain.. i will definetly watch the whole series...
Awsm bro.. learning new thing with you become easier now ..keep going
module.exports = { x : add , f2 : sub , var1 : name } ; // this also works if we want to change the names ...
thank you so much for this video. there's a lot of videos where they explain about node js import and export, but nobody explain like this. it was really helpful
completed ✌
i am doing a paid mern stack coruse too but your videos are better then the Academi clases !
Thank You Bhaiya ❤❤
Thanks for explaining step by step! Explain like this only always!
Wonderful sir aapse pdne m Maja he aajata h easy lgta h ..👍🎉
better teacher than my clg teachers
Daily ki tarah aaj bhi awesome 😍
Fan ho gya bhai aapkA
Pls, Continue this series Daily🙏
*_VERY AWESOME SERIES_* ✌🏻👌🏻👏🏻💯
*_WAITING FOR PROJECT VIDEOS_* 🙏🏻
I was really stuck by this thing...thanks for proper explanation...
You are amazing bro... I am a student of an institution here, You make everything clear of nodejs in just one day..
Hello bro ek folder se dusre folder me kese jaye aap bta skte ho
You just made me find interest in backend my brother .
best teacher ever🥰
you sir is a very good exporter of knowledge.
thank u for explaining difficult concepts so easily.
Awesome bro 💞💞 try 2 vedios per day nodejs😍 thank u bro,u made the day awesome 💞
very nice way of teaching sir.
your teaching is awesome bro
Very very easy video to understand the Module in JS. Thanks Brother...!
Hello owner of these videos I really appreciate your style of teaching , I request you to upload tutorials about AWS and IT project management so we can do freelancing
Bhetreen bhai awesome
very helpfull video thanks brother🤗
One of the best video
Awesome
ok jaanu
Buot hard thapa g
Brilliant, Outstanding...
Awesome brother 🤩
one of the best video
great video friend I have watched your all videos it's amazing keep it up and one request please provide project in node ejs and mysql
Greate collection, it's very easy to understand...
Simple and clear. Please make a video on creating a module for exception handling which can be called from various modules.
Thanks for Awesome nodejs video
Great explanation
Best Video ever
*boom guys* Love it !!
🤭🤭🤭🤭cool brother
This is very help full nice video
awesome 🤯🤯🤯🤯
Awesome 🔥🤗
Thank you very much sir for these awesome course for free
thank you sir, your videos really help me a lot!
love you sir!!!!!
very good , understable
Very nice 👍
Please make a video on form using reactjs and connect it to node js database
//simply code for tute11 and this is for path module
let path= require('path');
console.log(path.basename('D:\NodeJs Practie'));
console.log(path.dirname('D:\NodeJs Practie'));
console.log(path.extname('D:\NodeJs Practie/tute7.js'));
// console.log(path.format('D:\NodeJs Practie'));
console.log(path.parse('D:\NodeJs Practie').ext);
U really great and your content also
Gazab sir.
Very help full
Sir ek folder se dusre folder me kese jaye ??
Aap ne createfile folder me bhi index.js ka file bnayi h or import& export folder me bhi to ek folder se dusre folder me kese jaye
cd use karke
@5.50 where "module" came from ? could you explain please ? you might forgot to explain about it ?
He is making his own module and importing that module from another file by calling.
As each node js file is private, he writes->module.exports = add;
To make it accessible from other file.
Sir mujhe dusre k php ko mere php se connect krna h ksa kare plz bta do 🙏
THANK YOU SO MUCH SIR FOR THS AMEZING SERIES
Amazing video sir!
Awesome 👌
nice vaiya❤❤
very awesome interesting serice
Thanks for Awesome nodejs video :-)
Thanks for this awsome series
Are Thapa sir , mera video 12 mein kaafi pareshaani aa rhi hai usme meri file access nahi ho rahi hai
Amazing tutorial
very informative
Thank you for this amazing video Please make video on Axios
Sir plz tell me the intro song name plz, I have a humble request to you sir plz plz 🙏
Awesome sir...
Awesome video
Nice video 👍
it's showing error require is not defined. what to do sir?
Can we also write here export and export default just like react? And rather than using require can we use import type of things?
Bro kab tak course complete hoga
last m konsa theme song play hota h
it is not working for me. I have solved 3 issues, like script not allowed, require not defined import don't work. then after these all it stopped giving me error. instead it now gives me (NaN) answer
very good
you are buding my career
in js we do export , is module.exports and export is same?
module.exports is the older CommonJs syntax, while just writing export is the newer ESModule syntax.
As per the newer syntax, you can just export a named function like this:
function add(a, b) { return a + b; }
export { add };
To import this function in another file:
import { add } from "enter/filepath/here";
Thank You Boss.
Thank you sooo much sir❤️
Weldone
Can you please more explain this topic..... I can't understand it properly
How to display user details after successful login or registration in Nodejs
sirr!!!!!!!!
callback function me jo aap "==>" esa arrow function use krte h mujhe ni pta lg rha kha se aata h vo vala jo aap likhte please sir apni next video me thoda bta dijiyega plssssssssssssss
Fat arrow function ES6 likh kr utube pr search kr... pta chal jayega
Can someone know song name at the end of video
Nice sir ji
helped a lot bro
U R awesome
can we use multiple exports in same file
Sir, clients के ecommerce website के लिए psd web templates कहां से buy करें। Sir, कुछ साइट्स एक ही templates या theme को कई बार sale करते हैं, तो सबका लेआउट एक जैसा ही होगा एक वेब templates, एक ही clients के लिए कहां से buy करें plz tell 10online premium templates selling website.
i love his voice😂😄😄
informative
nice video
What is ./oper operator? samajh nahi aaya
It is path of the file you are accessing the module from, it's not any operator!
how to write => in continuation in vs code?
Nice
how to change Arrow symbol ????????? in Arrow Function
Sir agr personally kuch puchna ho to