fetch-event-source VS marked

Compare fetch-event-source vs marked and see what are their differences.

fetch-event-source

A better API for making Event Source requests, with all the features of fetch() (by Azure)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
fetch-event-source marked
3 60
1,324 31,885
14.2% 1.1%
0.0 9.5
17 days ago 7 days ago
TypeScript JavaScript
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

fetch-event-source

Posts with mentions or reviews of fetch-event-source. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-19.
  • Datastar v0.12.0 (Htmx+Alpine Alternative)
    1 project | news.ycombinator.com | 20 Apr 2024
    * `text/event-stream` relies on a modified version of [Azure's fetch-event-source](https://github.com/Azure/fetch-event-source). They handle errors and chunking better than I was. New version has been tested out to 4 billion fragments rendered on a single page with no errors.
  • How I put ChatGPT into a WYSIWYG editor
    6 projects | dev.to | 19 Jun 2023
    The EventSource Web API for handling SSEs (built into most modern browsers) unfortunately supports only GET requests, which was quite limiting when a POST request with larger body JSON data was required. As an alternative, you can use the Fetch API or a ready library like Microsoft’s Fetch Event Source.
  • GraphQL over SSE (Server-Sent Events)
    5 projects | dev.to | 31 Aug 2021
    Aforementioned limitations are taken care with a specialised SSE client (inspired by the awesome @microsoft/fetch-event-source) and two separate connection modes: the HTTP/1 safe "single connection mode" that uses a single SSE connection for receiving events with separate HTTP requests dictating the behaviour, and the HTTP/2+ "distinct connections mode" that uses distinct SSE connections for each GraphQL operation, accommodating the parameters in the request itself.

marked

Posts with mentions or reviews of marked. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-14.

What are some alternatives?

When comparing fetch-event-source and marked you can also consider the following projects:

better-sse - ⬆ Dead simple, dependency-less, spec-compliant server-side events implementation for Node, written in TypeScript.

remark - markdown processor powered by plugins part of the @unifiedjs collective

fastify - Fast and low overhead web framework, for Node.js

markdown-it - Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed

Express - Fast, unopinionated, minimalist web framework for node.

snarkdown - :smirk_cat: A snarky 1kb Markdown parser written in JavaScript

graphql-sse - Zero-dependency, HTTP/1 safe, simple, GraphQL over Server-Sent Events Protocol server and client.

DOMPurify - DOMPurify - a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify works with a secure default, but offers a lot of configurability and hooks. Demo:

WHATWG HTML Standard - HTML Standard

MDsveX - A markdown preprocessor for Svelte.

openai-node - The official Node.js / Typescript library for the OpenAI API

js-yaml - JavaScript YAML parser and dumper. Very fast.