CDN Resources for eventsource
Various ways to access eventsource via Content Delivery Networks
Package Installation
npm
npm install eventsource
yarn
yarn add eventsource
pnpm
pnpm add eventsource
CDN Links
jsDelivr
<script src="https://fastly.jsdelivr.net/npm/eventsource"></script>
Unpkg
<script src="https://unpkg.com/eventsource"></script>
jsDelivr ESM
<script type="module">
import eventsource from 'https://cdn.jsdelivr.net/npm/eventsource/+esm';
</script>
Skypack
<script type="module">
import eventsource from 'https://cdn.skypack.dev/eventsource';
</script>
CDN Provider Resources
Learn more about the CDN services used to deliver these packages