Skip to content

[Feature] Add support for the edge runtime #298

Description

@jferrettiboke

Support plan

  • is this issue currently blocking your project? (yes/no): no
  • is this issue affecting a production system? (yes/no): no

Context

  • node version: n/a
  • module version: n/a
  • environment (e.g. node, browser, native): Edge
  • used with (e.g. hapi application, another framework, standalone, ...): Next.js API Routes
  • any other relevant information: n/a

What problem are you trying to solve?

This library only supports the Node.js runtime. Is there any chance to make it compatible with the edge runtime as well? This would be handy for monorepo projects sharing code between different runtimes. The edge runtime does not support Node.js Buffer module.

If the answer is positive, it would be great to reduce the size of this package drastically. The @hapi/hoek dependency is taking ~70% of the size. https://bundlephobia.com/package/@hapi/boom@10.0.0

Do you have a new or modified API suggestion to solve the problem?

n/a

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

    featureNew functionality or improvement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions