H
Hono7mo ago
foobar

Hono and 3rd party middleware on Deno

Hi, I use Hono and 3rd party middleware on Deno. I import them with npm / esm. Is there a better way to link dependencies with hono ? Does porting them on jsr will help ? My actual settings
"imports": {
"@/": "./",
"@scalar/hono-api-reference": "npm:@scalar/hono-api-reference",
"hono": "jsr:@hono/hono@^4.4.0",
// For hono swagger
"hono/swagger-ui": "https://esm.sh/@hono/[email protected]?external=hono&target=es2022",
"hono/zod-validator": "https://esm.sh/@hono/[email protected]?external=hono,zod&target=es2022",
"hono/zod-openapi": "https://esm.sh/@hono/[email protected]?external=hono,zod,hono/zod-validator&target=es2022",
"zod": "https://deno.land/x/[email protected]/mod.ts"
}
"imports": {
"@/": "./",
"@scalar/hono-api-reference": "npm:@scalar/hono-api-reference",
"hono": "jsr:@hono/hono@^4.4.0",
// For hono swagger
"hono/swagger-ui": "https://esm.sh/@hono/[email protected]?external=hono&target=es2022",
"hono/zod-validator": "https://esm.sh/@hono/[email protected]?external=hono,zod&target=es2022",
"hono/zod-openapi": "https://esm.sh/@hono/[email protected]?external=hono,zod,hono/zod-validator&target=es2022",
"zod": "https://deno.land/x/[email protected]/mod.ts"
}
1 Reply
Nico
Nico7mo ago
I see this has gone unanswered. I do not use Deno and know very little about it. But try on GitHub Discussions, there are a few people there who know more about Deno
Want results from more Discord servers?
Add your server