News for hackers. Stuff that matters.
Re:A web of trust for NPM by throw_m239339 on Saturday October 03, 2020 @10:56PM (#24676209)
> The reason the JS library is slimmer than Pythons is because it's mostly a client-side language.

This comment is a bad argument. The web API in the browser is substantial, from USB communication to XML parsing.

None of that is shipped with Node.js directly for instance.

The problem is not the Javascript spec, the problem is that one has to download a package to parse XML with Node.js. Node.js standard library is too barebone.

You don't have to do that in the client. You have loads of web API, perhaps more than Python's standard library.

Re:A web of trust for NPM by kchr on Sunday October 04, 2020 @07:47AM (#24678268)
Web API is sandboxed with a permission model in the browser.
Re:A web of trust for NPM by throw_m239339 on Monday October 05, 2020 @05:09AM (#24685890)
> Web API is sandboxed with a permission model in the browser.

And? your comment has absolutely nothing to do with my point which is that JS in the browser has access to a huge standard API compared to Node.js which relies too much on third party packages, unlike Python or Go.