Edit: I am not asking for the api to return an executable, I want to protect the source code of the api, wherever it is installed
I'm starting with node js and I want to make an api, that's why there is no problem, but I wonder what possibility there is to make that api and give a client that obfuscated code or an exe,
I ask: It is better to obfuscate the code or generate an exe Is there another alternative where the user does not have the code?
Thank you for your response.