Package
@sanity/eventsource
EventSource polyfill for browser and node.js
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 1.1m
- - over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 4
- Direct, from package.json
- Last release
- 2 months ago
- v5.0.4
- GitHub stars
- 2
- 1 forks
- Open issues / PRs
- 2 / 3
- Contributors
- -
- Commits, last 52 weeks
- 8
No weekly download data in the snapshot.
1,060,205 downloads last week, 5,224,294 in the last month. No 52-week series has been fetched yet.
- Releases, last 12 months
- 286 in total
- Latest version
- 5.0.4, 15 Jul 20262 months ago
- First published
- 28 Oct 2016
- Last push to GitHub
- 22 Sept 20262 days before the snapshot
- Repository archived
- No
- Open issues
- 2
- Open pull requests
- 3
- Commits, last 52 weeks
- 8
- Dependents on npm
- 9
Major versions
- v5 first release 5.0.0, 22 Mar 2023
- v4 first release 4.0.0, 30 May 2022
- v3 first release 3.0.0, 16 Feb 2022
- v2 first release 2.0.0, 7 Oct 2020
- v0 first release 0.99.0, 19 Jan 2017
- v1 first release 1.0.0, 28 Oct 2016
Recent releases
| Version | Published |
|---|---|
| 5.0.4 | 15 Jul 2026 |
| 5.0.3 | 15 Jul 2026 |
| 5.0.2 | 22 Apr 2024 |
| 5.0.1 | 28 Sept 2023 |
| 5.0.0 | 22 Mar 2023 |
| 4.1.1 | 22 Mar 2023 |
| 4.1.0 | 22 Mar 2023 |
| 3.0.3 | 30 May 2022 |
| 4.0.0 | 30 May 2022 |
| 3.0.2 | 17 Mar 2022 |
| 3.0.1 | 16 Feb 2022 |
| 3.0.0 | 16 Feb 2022 |
| 2.23.0 | 8 Dec 2021 |
| 2.14.0 | 11 Aug 2021 |
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 5.2 kB
- Dependencies (4)
eventsource@types/eventsourceevent-source-polyfill@types/event-source-polyfill
npm install @sanity/eventsource- jsDelivr
https://cdn.jsdelivr.net/npm/@sanity/eventsource@5.0.4/ - unpkg
https://unpkg.com/@sanity/eventsource@5.0.4/ - esm.sh
https://esm.sh/@sanity/eventsource@5.0.4
Indexability: Indexed.