this post was submitted on 19 Jan 2023
1 points (100.0% liked)

JavaScript community

92 readers
3 users here now

A community about JavaScript, the ECMAScript standard, and programs that make use of JS such as Node.js.

founded 5 years ago
MODERATORS
 

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 are viewing a single comment's thread
view the rest of the comments
[–] BlackXanthus 3 points 1 year ago

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