JS library that works on both NodeJS and client-side JS via CDN?
It seems that there's little to no information about that out there. 🤔
If it's on npm it's already in CDNs
Does that mean that you can just import the library in a client-side JS file and run it and it'll work?
Sure, if you don't use Node-specific features
Damn I didn't know that was possible. My only dependency is axios and this new is just too good to be true. Thanks!
Обсуждают сегодня