google / google/re2-wasm

[Feature request] Inlining wasm binary

Open
#21 2 comments 3 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
79
Forks
18
PR merge metrics
No merged PRs in 30d

Description

For some Node.js runtime environment such as AWS Lambda, it would be nice to have a pure JS implementation without extra file access like a wasm file because some bundling process doesn't recognize such extra files automatically.

Could you provide another package like `re2-wasm-inline` by inlining the wasm binary as a `Buffer` so that the extra wasm file isn't required?

Or, if your licensing term allows, I can also create such a package and publish it to npmjs on behalf.

Let me know your opinion!

See https://github.com/awslabs/smithy-typescript/issues/733

This could also solve https://github.com/google/re2-wasm/issues/15

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.