I have a project written which's core is an NodeJs Web- and API-Server. I'd like to sell it to multiple clients, they will host the server on their system.
The NodeJs-Server runs with source-code, and is thus very vulnerable to being shared, manipulated or copied.
Protect the source-code from any external influences, in a way of compiling, enclosing or securly encoding the source-code to enable it to be shared to multiple clients wihout the risk of it being manipulated or copied.
I've learned about a approach to this problem, the very promising enclose.js, but I'd possibly like to evaluate multiple methods to secure NodeJS source-code, suggested by security experts, and eventually find a good/best practice to deal with this.