only-cliches / NoProto

Flexible, Fast & Compact Serialization with RPC
MIT License
373 stars 14 forks source link

Javascript/wasm usage example #14

Open vladar opened 3 years ago

vladar commented 3 years ago

Hey 👋 Another cool project of yours 👍

The README mentions that the library is WASM-ready. But is there any example of how to use it from Javascript?

only-cliches commented 3 years ago

Hello vlader! Happy that you're enjoying the library!

What I mean by "WASM Ready" is that you can build this library into your WASM binaries and it will compile without any troubles. There is no explicit javascript API at the moment, you'd have to build that if you needed it.

I do have a plan to release a precompiled WASM/JS version in the near future, along with versions for PHP, Python, Java and maybe a few others. You can expect that kind of stuff after the 1.0 release.