Javascript to Bash transpiler for fun and profit. See example.js and example.sh to see input and output.
(Another proof of concept)
Javascript to Bash transpiler Statically compiled version of Javascript - An exploration in how transpiling works.
JavaScript