Hacker News new | ask | show | jobs
by MsMowz 1841 days ago
Isn't that really a pattern that the runtime adopts (i.e. not the language itself)? For ES, the libraries are dependent on the runtime environment; for browsers, there are the web APIs, and for Node, there's npm. I'm not sure how you could have anything more standard given the nature of things.
2 comments

This might be just a few levels of people talking past each other, but just in case:

Yes, the full "standard libarary" you can expect to be present on any given JS VM may vary, but there's no plausible reason that e.g. at() should not work on almost any conceivable platform.

> for Node, there's npm

True, NodeJS runtime comes with its own «standard library» but npm has nothing to do with it.