Comments (2)
This package does only support Node.js, as the documentation implies. The package exists in this form, with the focus on Node support, because that is what I needed to support my use case. The node-re2
package you linked was not an option because I needed to avoid adding a dependency on a native addon like that package has. Though, as the README says, this package borrows heavily from that one in terms of API and documentation.
I have no objection to adding support for browsers, but I do not have time to devote to adding that myself. Of course, I would be happy to accept any contributions that add that.
My main concern with supporting browsers is that I needed to force the WASM module to be loaded synchronously so that the package would be compatible with other existing code that uses CommonJS module loading. Browsers, on the other hand, appear to be required to load WASM modules asynchronously, and I am unsure how to reconcile those in a clean way. I suspect that a significant amount of code duplication will be required.
from re2-wasm.
Hello, I see this issue was created almost two years back. Was anyone able to make this support browser by any chance? If not, can anyone walk me through the steps of how to do it? Or what should I be looking into? (I am very new to this wasm world, any kind of help is appreciated)
from re2-wasm.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from re2-wasm.