I’m writing some javascript (for the web) for the first time in a long time and I am realizing that I would be well served by using a bit of tooling like eslint and standardjs.
I am reluctantly willing to apt install nodejs
but I am not willing to use npm
because of my impression that it is a fractal of yolo curl | bash
philosophy which will randomly install and automatically run malware or indistinguishable-from-malware garbage I don’t want.
So, my question is: how can I install things like standardjs without using npm?
Please do not tell me that I should just use npm.
You could use deno. It has support for using node modules but is a much more sensible runtime and it adheres to web standards.
Anything that requires me to use a package manager for my apps, I skip entirely. I started on the web before the web was a thing, and I like putting files where I want them. I can manage dependencies just fine, thank you very much.
Depends on what you want it for. You can use standard in vscode or vim by installing the editor specific modules.
Or, for something bigger, try this: https://stackoverflow.com/questions/5786433/how-to-install-a-node-js-module-without-using-npm#5786745
You can download everything manually, but I wouldn’t recommend it.