jsx_pipe jsx transform executable that you can pipe into step 1: npm install -g jsx_pipe step 2: echo '<div>Hello World</div>' | jsx_pipe > foo.js cat foo.js React.createElement("div", null, "abc"); that is!