News for hackers. Stuff that matters.
Re:Show HN: Piping logs, visualizing in a web app – just suf... by tchetwin on Wednesday March 06, 2024 @03:28AM (#39613626)
`npx` is a tool that ships alongside `npm` (alongside `node`) that either finds a local installation or performs a just-in-time download, and then runs the default "bin" entrypoint for the package.

Newer versions of `npx` (last few years) will prompt the user before installing a package. Older versions did not. Note that installing the package can run arbitrary scripts as a side effect with at least the level of permission of the current user, so there is implicit trust required of the author, and the authors of all transitive dependencies.

Re:Show HN: Piping logs, visualizing in a web app – just suf... by asplake on Wednesday March 06, 2024 @04:40AM (#39614098)
Thanks. Unfamiliar with the Node ecosystem, that escaped me