Using N-API Nodejs extension in D.

Petar Petar
Wed May 19 12:20:59 UTC 2021


On Wednesday, 19 May 2021 at 11:33:44 UTC, Tyler51 wrote:
> Is it also possible to use D with N-API,the newer interface 
> Node-js recommends writing native addons in?
>
> I Just wanted to share how I have managed to interface node.js 
> with D using C++ bridge and NAN. So far I have been using C++ 
> and rust for this but for obvious reasons (that would be a long 
> story to explain) I wanted to go with D. One of the show 
> stoppers was the lack of well established (or I don't know if 
> that exists) library of framework to help with that.
>
> https://www.prepaidgiftbalance.vip/

I found [`node_dlang`][1] on 
[code.dlang.org](https://code.dlang.org), but I haven't tried it.

[1]: https://code.dlang.org/packages/node_dlang


More information about the Digitalmars-d mailing list