node.js implementation of license generator

Hi, just saw Python and Ruby implementations and as porting was pretty straightforward, I'm requesting you to merge these few dozens LOC, hoping they will be useful to anyone who also writes license management backends in Node.js.