What is node.js?
from cheese_greater@lemmy.world to nostupidquestions@lemmy.ca on 05 May 2026 02:06
https://lemmy.world/post/46445158

What can be done of it?

#nostupidquestions

threaded - newest

sudoMakeUser@sh.itjust.works on 05 May 2026 02:25 collapse

So JavaScript was made to run in a browser. You click a button or whatnot and some code runs. But people liked it so much that that they made an external runtime outside of the browser, so you can run code just like any other language, like running a Python script. Nodejs also has a bunch of server specific functions such as file reading and writing that JavaScript running in the browser would not have access to. If you’re asking what can be done with it, you can use it to run a JavaScript script one time, or you can use it to run a web server.

howrar@lemmy.ca on 05 May 2026 04:01 collapse

people liked [JavaScript] so much

[Citation needed]

JackDark@lemmy.world on 05 May 2026 04:27 next collapse

🙋‍♂️

sudoMakeUser@sh.itjust.works on 05 May 2026 10:33 next collapse

At least one person did, I suppose. I don’t hate working with Typescript, there’s some issues with it but overall it’s a decent language to work in. JavaScript by itself is pretty miserable though.

theacharnian@lemmy.ca on 05 May 2026 11:57 collapse