I was not able to get tamejs to work with windows. The npm install fails and after a manual installation, I was not able to get either the command line nor the "require" usage to work.
I was able to find a workaround: node node_modules\tamejs\lib\main.js foo.js>foo.tjs
I am enjoying the module. Thanks.