1
submitted 2 years ago* (last edited 2 years ago) by cypherpunks@lemmy.ml to c/javascript@lemmy.ml

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.

top 1 comments
sorted by: hot top controversial new old
[-] BlackXanthus@lemmy.world 2 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

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

JavaScript community

829 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