nodejs / nan

Native Abstractions for Node.js
MIT License
3.27k stars 501 forks source link

Copy *.node addon compiled file from compiling machine to another machine (client) same system #930

Open mohammadmoth opened 2 years ago

mohammadmoth commented 2 years ago

Hallo all,

I would like to (windows server 2019) machine compile the source file to a node file and run it on the same system as the Windows machine (windows server 2019, windows 10, windows 11).

For example after building an addon It will create the following files:

addon.node addon.pdb addon.lib addon.ilk addon.exp

I will include it directly with my node project.

my questions:

  1. Is this safe?
  2. Is this stable?

Thank you all