2
dmonkey
6y

To all node developers...
Is there actually a pure standard library into node? I looked at the docs and as Hello World it uses Express.js, so I'm wondering if there's actually something beyond the interpreter inside node.

Comments
  • 2
    in production usually alpine node is used. A to the bare minimum striped down version of node. Is that pure enough?

    The thing is, node is a server built on the v8 runtime which means it does something with the code you put into node. That also means that you can use node for robotics. It's just a thing that inputs and outputs. In order to use node on the web you'll need something that handles the web for nodejs. Like Express.js or HaPi.js.
    There is nothing wrong with that.
  • 2
    @heyheni ok thanks, got it.

    I know there's nothing wrong with that, I was just wondering, because I thought that node had a built-in library or something like that.
  • 6
    Yes there is, http, fs, .. are all standard modules
  • 2
    Where one the docs did you look for that hello world?

    https://nodejs.org/en/docs/...

    This sure doesn't look like express
  • 3
    @inaba shtt, I think I was talking about some other guide/tutorial without realizing it...

    Goodmorning to me
Add Comment