Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add support for the edge runtime #298

Open
jferrettiboke opened this issue Dec 26, 2022 · 0 comments
Open

[Feature] Add support for the edge runtime #298

jferrettiboke opened this issue Dec 26, 2022 · 0 comments
Labels
feature New functionality or improvement

Comments

@jferrettiboke
Copy link

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

@jferrettiboke jferrettiboke added the feature New functionality or improvement label Dec 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality or improvement
Projects
None yet
Development

No branches or pull requests

1 participant