I am looking for a way to secure my JS code.
Edit: I do not want my code to be run by others in their local by cloning my API behaviour. Secondly, if Obfuscation is OK, is there any best practices other than going to an online obfuscator
I know there is Obfuscating JS. But, I do not know how safe it is.
It'd be great if someone can answer these for me.
- Is Obfuscation safe ?
- How to properly Obfuscate your JS ?
- Are there any techniques to secure JS apart from Obfuscate ?