microsoft / node-pty

Fork pseudoterminals in Node.JS
Other
1.46k stars 235 forks source link

How can I use PKG to package this module across platforms? #494

Closed mycve closed 3 years ago

mycve commented 3 years ago

Environment details

Issue description

How can I use PKG to package this module across platforms. I hope to use it on as many platforms as possible. Some platforms may not have nodejs environment.

Tyriar commented 3 years ago

Not sure what pkg is 🤷‍♂️, doesn't seem like the right place for this question.

mycve commented 3 years ago

It is a module that nodejs is packaged as an executable. You can use it by executing npm install -g pkg. But usually I want to use node-pty on more platforms through cross compilation.

Tyriar commented 3 years ago

Yeah I don't know, I don't use it.