@sanity/eventsource

EventSource polyfill for browser and node.js

Usage no npm install needed!

<script type="module">
  import sanityEventsource from 'https://cdn.skypack.dev/@sanity/eventsource';
</script>

README

eventsource

Meta-package to make browsers and Node use different EventSource polyfills