Skip to content

drop h3 and hono entries #69

Description

@kazupon

Clear and concise description of the problem

h3 v3 is going to support web standard Request/Response as default.
@intliy/utils has already supported utlifies for web standard Request/Response such as getHeaderLanguages.
We can use it to handle for h3 and hono, below example:

import { getHeaderLanguages } from '@intliy/utils'

// h3
import { H3, serve } from 'h3'

const app = new H3().get('/', (event) => {
  const languages = getHeaderLanguages(event.req)
})

// hono
import { Hono } from 'hono'
const app = new Hono()

app.get('/', (c) => {
  const languages = getHeaderLanguages(c.req)
})

Suggested solution

N/A

Alternative

No response

Additional context

No response

Validations

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureIncludes new features

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions