elysia-htmx
Advanced tools
Comparing version 1.0.9 to 2.0.0
@@ -9,2 +9,3 @@ import Elysia from "elysia"; | ||
const app = new Elysia({ name: "htmx", seed: { disableCache } }).derive( | ||
{ as: "global" }, | ||
({ request: { headers }, set }): HtmxContext => { | ||
@@ -11,0 +12,0 @@ return { |
{ | ||
"name": "elysia-htmx", | ||
"description": "Elysia HTMX Context", | ||
"version": "1.0.9", | ||
"version": "2.0.0", | ||
"homepage": "https://github.com/gtramontina/elysia-htmx.git", | ||
@@ -12,12 +12,13 @@ "license": "MIT", | ||
"lint": "bun x @biomejs/biome check --vcs-client-kind=git --vcs-enabled=true --vcs-use-ignore-file=true . *.json", | ||
"lint:fix": "bun x @biomejs/biome check --apply-unsafe --vcs-client-kind=git --vcs-enabled=true --vcs-use-ignore-file=true . *.json" | ||
"lint:fix": "bun x @biomejs/biome check --write --unsafe --vcs-client-kind=git --vcs-enabled=true --vcs-use-ignore-file=true . *.json" | ||
}, | ||
"devDependencies": { | ||
"bun-types": "1.0.15", | ||
"elysia": "0.7.30" | ||
"bun-types": "1.1.20", | ||
"elysia": "1.0.0", | ||
"npm": "10.8.2" | ||
}, | ||
"peerDependencies": { | ||
"typescript": "^5.2.2", | ||
"elysia": "^0.7.30" | ||
"elysia": "^1.0.0" | ||
} | ||
} |
# Elysia HTMX | ||
Elysia plugin to create or forward Request IDs. | ||
Elysia plugin to support integration with [HTMX](https://htmx.org/). | ||
@@ -65,2 +65,2 @@ ## Installation | ||
For usage of the `hx` object, please refer to the [htmx](https://htmx.org/)'s [Request](https://htmx.org/reference/#request_headers) and [Response](https://htmx.org/reference/#response_headers) headers documentation. | ||
For usage of the `hx` object, please refer to the [htmx](https://htmx.org/)'s [Request](https://htmx.org/reference/#request_headers) and [Response](https://htmx.org/reference/#response_headers) headers documentation. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7868
130
66
3