torch2424 / as-bind

Isomorphic library to handle passing high-level data structures between AssemblyScript and JavaScript 🤝🚀
https://torch2424.github.io/as-bind/
MIT License
245 stars 23 forks source link

README is not keeping up with the new version(0.7.0) #82

Closed takapiro99 closed 3 years ago

takapiro99 commented 3 years ago

It is as the title says.

I think that people who see it may misunderstand that it doesn't work.

Would you be willing to fix this?

takapiro99 commented 3 years ago

I took a closer look and found that around line77 should be fixed like this

- import AsBind from "as-bind";
+ import { instantiate } from "as-bind";
// then instantiate

This may an unrelated question, but is it intentional that this doesn't have a default export?