https://github.com/jollytoad/deno_jsx_stream
JSX runtime for server-side only async streaming
https://github.com/jollytoad/deno_jsx_stream
deno jsx
Last synced: 6 months ago
JSON representation
JSX runtime for server-side only async streaming
- Host: GitHub
- URL: https://github.com/jollytoad/deno_jsx_stream
- Owner: jollytoad
- License: mit
- Created: 2023-06-20T10:03:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-18T11:13:58.000Z (about 1 year ago)
- Last Synced: 2025-02-28T18:34:05.510Z (10 months ago)
- Topics: deno, jsx
- Language: TypeScript
- Homepage: https://jsr.io/@http/jsx-stream
- Size: 59.6 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Template streaming libraries
A set of libraries to aid the building of asynchronous streaming template
engines.
## `@http/token-stream`
Provides generic utilities and types for the flattening of complex templates
structures into a stream of tokens. Including strategies for deferral of slow
asynchronous content.
## `@http/html-stream`
Provides HTML specific tokens and utility functions
## `@http/jsx-stream`
Provide a JSX engine making use of `@http/token-stream` and `@http/html-stream`
to support (primarily server-side) rendering of async components.
## Examples
A Deno app serving up a bunch of examples.
To run the example app, clone this repo and run:
```sh
deno task start
```