File System Module in Node JS (Hindi)

  Рет қаралды 18,585

Geeky Shows

Geeky Shows

Күн бұрын

Пікірлер: 30
@umeshpatel9408
@umeshpatel9408 3 жыл бұрын
Very nice content and series you tube in the best💓💜❤
@AsadAli-wi1xs
@AsadAli-wi1xs 3 жыл бұрын
Awesome Content Sir
@rushikeshmalpe3715
@rushikeshmalpe3715 3 жыл бұрын
Happy Diwali Sir
@samadhanmhaske5900
@samadhanmhaske5900 3 жыл бұрын
Geeky Shows sir now back 1:07:40
@monireol
@monireol 3 жыл бұрын
Sir, File ko agar binary me read karna ho to kounsa encoding use karu. Instead "utf-8"
@AnkitSingh-tm5dp
@AnkitSingh-tm5dp 11 ай бұрын
fs.readFile('D:\\FreeLanser\\Nodejs\\File_System\\callback_API_1\\NewProject\\check\\check1\\index1.txt',(error,data)=>{ if(error) throw error; for (let i = 0; i < data.length; i++) { const binaryByte = data[i].toString(2).padStart(32, '0'); // Convert byte to binary string console.log(binaryByte + ' '); // Output binary byte } }) toString(x) convert as decimal of x means if x=2 mens convert it in binary decimal: padStart(32,'X') Here 32 means in how many bits you want to see output and X means what the leading value if there is no effect of bits as according to input:
@rajkishordas5706
@rajkishordas5706 8 ай бұрын
Thank you Sir ❤
@umeshpatel9408
@umeshpatel9408 3 жыл бұрын
Happy diwali sir
@omamachohan4177
@omamachohan4177 10 ай бұрын
#GeekyShows thanks for creating awesome content........... Please make project in MEAN Stack ☺☺
@SunnySunny-mh5do
@SunnySunny-mh5do 10 ай бұрын
Very nice bro
@shubhamrasal3441
@shubhamrasal3441 2 жыл бұрын
sir i have one error , SyntaxError: Unexpected token *
@poojapawar8720
@poojapawar8720 3 жыл бұрын
Each folder should have package .json file ? I want to ask is that when to use init Command? Every time or just to start program?
@geekyshows
@geekyshows 3 жыл бұрын
each project should have package json file watch this video kzbin.info/www/bejne/rnWWh2aLm557hqs
@srinjoyghosh7273
@srinjoyghosh7273 2 жыл бұрын
Whenever I am trying to use await, I am seeing an error called "await is only valid in async function". Can someone help ?
@geekyshows
@geekyshows 2 жыл бұрын
you can use await only inside async function. If a function is not async you cant use await. So whenever you use await ask yourself is it an async function If you got answer as YES then you can use await For example:- const myfun1 = async () => { clg("Its an async Function so we can use await here"); await something() } const myfun2 = () => { clg("Its not an async Function so we can not use await here"); } Note - An async function always returns Promise for more you can watch my Video on this topic kzbin.info/www/bejne/jGOxln5rirlohcU
@moosarahil2403
@moosarahil2403 Жыл бұрын
​@@geekyshowshey brother but you don't use async function you simply use await
@tourepi
@tourepi Жыл бұрын
@@moosarahil2403 the functions he is working with such as mkdir, rmdir are async functions by default so thats why he is using await with them
@fullstackdevelopment2023
@fullstackdevelopment2023 Ай бұрын
bohot hard
@AkhileshYadav-lv3kh
@AkhileshYadav-lv3kh 2 жыл бұрын
Thank you sir
@sagar_pariyar
@sagar_pariyar 3 жыл бұрын
sorry, i have an error while importing. SyntaxError: Unexpected token *
@utpalpodder3346
@utpalpodder3346 2 жыл бұрын
sir, here you are using await without async function...but as we know we use await only with async function....i am just bit confused...can you please help ..
@moosarahil2403
@moosarahil2403 Жыл бұрын
Same question bro. If you get the answer of this question so kindly reply me And if I get reply so I'll reply you
@tourepi
@tourepi Жыл бұрын
the functions he is working with such as mkdir, rmdir are async functions by default so thats why he is using await with them (Promise api always work with async functions only) in the toturial he is not making the async functions, he is just simply calling those functions. async word will be written there where these functions are defined
@bnodonprojukt2124
@bnodonprojukt2124 Жыл бұрын
inside echmascript module you can directly use await keyword.
@abdulmoeed758
@abdulmoeed758 Жыл бұрын
hi i hope you are fine ,i have a little request for you ,will you please share all the code which you type in videos for understanding in a file
@moosarahil2403
@moosarahil2403 Жыл бұрын
He bro what's you vs code theme name?
@geekyshows
@geekyshows Жыл бұрын
Dracula
@imharry404
@imharry404 2 жыл бұрын
Thanks
@abdullahamin4504
@abdullahamin4504 2 жыл бұрын
Love you brother please make a video how to use own custom django admin template. plz ------- plz ------ plz plz ----- plz --------- plz
@wsb13
@wsb13 3 жыл бұрын
👏👍
Routing in Express JS 5 (Hindi)
1:03:34
Geeky Shows
Рет қаралды 22 М.
Modules in NodeJS
15:25
Piyush Garg
Рет қаралды 171 М.
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Middleware in Express JS (Hindi)
36:13
Geeky Shows
Рет қаралды 16 М.
File Handling in NodeJS
18:17
Piyush Garg
Рет қаралды 156 М.
Learning the Linux File System
25:09
Joe Collins (EzeeLinux)
Рет қаралды 1,2 МЛН
you will never ask about pointers again after watching this video
8:03
How many NodeJS Jobs are there in 2018?
7:11
Stefan Mischook
Рет қаралды 35 М.
OS Module in Node JS (Hindi)
8:30
Geeky Shows
Рет қаралды 7 М.
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН