Building es modules from native code?

28 views
Skip to first unread message

Stephen Belanger

unread,
Mar 28, 2018, 9:30:47 PM3/28/18
to v8-users
Hey there, I'm experimenting with es modules right now and I'm wondering if there's some way to build one with only native code? So rather than putting fields on a Local<Object> can I instead put them on a Local<Module> somehow? I have some code I want to expose into the VM, but I'd rather not put it in global or something like that, I'd prefer to be able to build an importable module that is entirely native-backed.
Reply all
Reply to author
Forward
0 new messages