4 ms·
Node does have a standard library. It's not massive, but there's a lot more available out of the box than is available in a browser. The tricky part is that lo
by rpeden 8y ago
Node does have a standard library. It's not massive, but there's a lot more available out of the box than is available in a browser.
The tricky part is that lots is npm packages end up bundled into an app that runs in the browser. It's just a guess, but I'd guess that significantly more npm imports end up running in the browser than in Node. So even giving Node a standard library as extensive as Ruby's wouldn't help as much as one would hope.