Answer the question
In order to leave comments, you need to log in
What does js.readFileSync do anyway?
Read the Node.JS documentation.
Either I'm a fool, or the skis are like that, but it says that the file:// protocol works in Node.JS
Tell me - I correctly understood that if you specify
fs.readFileSync(new URL("file://C:/Downloads /auth.json")), will it start reading the author.json file from the client's Downloads folder?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question