htmx.ext...chunked-transfer
Version:
Chunked transfer encoding extension for htmx.
41 lines (29 loc) • 1.23 kB
Markdown
# htmx.ext...chunked-transfer
[![CI][gha-image]][gha-url]
[![NPM version][npm-image]][npm-url]
[![Conventional Commits][conventional-commits-image]][conventional-commits-url]
> Chunked transfer encoding extension for [htmx](https://htmx.org) .
This extension adds Chunked transfer encoding to htmx requests.
\following https://github.com/bigskysoftware/htmx/issues/1911
## Install
```sh
$ npm install htmx.ext...chunked-transfer
```
```html
<script src="https://unpkg.com/htmx.ext...chunked-transfer/dist/index.js"></script>
```
## Usage
```html
<body hx-ext="chunked-transfer">
...
</body>
```
## [Examples](./example/)
- Using [Hono](https://hono.dev/)
- [JSx SSR Suspense](https://hono.dev/guides/jsx#suspense)
[npm-url]: https://npmjs.org/package/htmx.ext...chunked-transfer
[npm-image]: http://img.shields.io/npm/v/htmx.ext...chunked-transfer.svg
[gha-url]: https://github.com/douglasduteil/htmx.ext...chunked-transfer/actions/workflows/ci.yml
[gha-image]: https://github.com/douglasduteil/htmx.ext...chunked-transfer/actions/workflows/ci.yml/badge.svg
[conventional-commits-image]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg
[conventional-commits-url]: https://conventionalcommits.org*