Javascript IP and Code Protection

Got asked this question today.

“How can I protect my Javascript code and algorithms” – can I copyright it, should I trademark my project and business name”

Firstly, I am not a lawyer.

Secondly, there is no universal copyright law, in some jurisdictions it’s implicit in some it’s not. So put a notice in the your code to state your intent. Good luck if you actually want to enforce it though – it will be costly.

Trademarking is different you will have to repeat the trademark process in all jurisdictions you want protection. It gets expensive.

If your idea is worth it, and you can afford it, then go through the time, expense and pain.

If you really want to protect your code, then a web service is the go – with Javascript you should be able to write a node web service fairly quickly to do the calculations and return the results.