Saving a webpage and expecting your browser to render this the same way in a few years is only possible if you are saving the browser version with it.
The command line tool will have a longer life
You could just use google to find the same thing in a few years. The project is so simple I could replicate it and have it hosted in a few hours.
"so simple" ... "in a few hours"
The project is so simple that it would be easier to rewrite it from scratch in that time frame. But the qrencode CLI allows to just avoid that.
Does that work for node.js apps?
But yes, I agree running a command like qrencode from terminal is easier in the long run.