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
Support plan
Context
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/hoekdependency is taking ~70% of the size. https://bundlephobia.com/package/@hapi/boom@10.0.0Do you have a new or modified API suggestion to solve the problem?
n/a