title: How to register a url protocol handler in Node.js
body: <p>I am developing a command line node module and would like to be able to launch it via links on a website.</p>
  
  <p>I want to register a custom protocol <code>my-module://</code> such that links would have the following format: <code>my-module://action:some-action</code> and clicking on them would start the node package.</p>
  
  <p>If there isn't a node API for this (I'm sure there won't be) then is there a way I can do it from node by invoking system commands?</p>
  
  <p>It must work on Windows, Linux, and MacOS.</p>