|
|
|
|
|
by toastercat
846 days ago
|
|
You can usually browse npm for what you need, and when you want to use it, look at unpkg.com/<name of package> Usually this will give you a .min.js file ready for you to script include on your site, for example, unpkg.com/mithril Sometimes library authors don't default the export to a browser ready minified version or ESM module, in which case, you can snoop around the built package at unpkg.com/browse/mithril/. Most READMEs worth a damn should tell you how to use their libraries without npm if possible. Unfortunately, a lot of library authors suck. |
|
The nerve of them not catering to the small percentage of use cases for a project they often do in their free time and often for free. The entitlement is real.