Похожие чаты

Is it possível / a good idea to make my

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. 🤔

4 ответов

7 просмотров

If it's on npm it's already in CDNs

Pedro-Aguiar Автор вопроса
Thomas
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?

Pedro Aguiar
Does that mean that you can just import the librar...

Sure, if you don't use Node-specific features

Pedro-Aguiar Автор вопроса
Thomas
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!

Похожие вопросы

Обсуждают сегодня

а зачем этот вопрос для удаления из чата?
Mёdkinson Medvezhkin
63
Эх кто-то пришел и весь праздник испортил :( You need complex FBX scene importing setup to change things on import? good luck with that. You need navigation and pathfinding? g...
Serg Gini
5
Friends, how can I find my Wazirx wallet address?
Silm Silm
31
Всем привет! Подскажите. Я написал приложение на Delphi 10.2 Tokyo под Windows 10. И передо мной стал вопрос о том чтобы сделать это приложение кроссплатформенным (под Linux и...
Дмитрий Завгородний
24
How many Cashfusion server now?
Crypto life
22
My 7 year old daughter recognizes the Bitcoin symbol and knows it's currency. What are the top ,3-5 most basic important concepts to convey to a kid about BCH? I started with ...
Big Hair
23
Кто знает локации, где можно машину красиво отфоткать?
Lalalashechki Lalala
23
Почему стало ломаться на D11? "739002.86400000' is not a valid timestamp" function IncDateTime(aStamp:TTimeStamp;aKind:TTriggerKind;aInterval:Integer):TDateTime; //aStamp = 2...
Катерина Свиридова
8
Привет всем. Подскажите где можно посмотреть, какая версия электрон, поддерживает версии windows? Некий changelog. Мне бы желательно, поддержку 7,8,10... latest, как понимаю и...
Anonym Squad
21
The main vulnerable points of #Monero There is an axiom in computer security that says that a system is as safe as its most vulnerable point. Monero is a #privacy blockchain ...
LiberLion
15
Карта сайта