Skip to content

Import and use native module (*.node) #9203

Answered by xiaoxiangmoe
sylvainDNS asked this question in Q&A
Discussion options

You must be logged in to vote

using (window as any).require('./foo.node');

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@xiaoxiangmoe
Comment options

@sylvainDNS
Comment options

Answer selected by sylvainDNS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants