Here's the work in progress:
https://github.com/poker-flat/mavlink/tree/node-mavlink
The Javascript generator file dwells in the pymavgen/generator directory, with the node module stuff in the pymavgen/generator/javascript dir; there's a deficient but well-intended readme there, as well, to sketch how to build & run tests.
I'm continuing to work to finish an initial implementation (CRC calc isn't right, etc), make my initial transliteration into more idiomatic and well-performing Javascript, and to figure out a sane way to npm-ify it so it's handy to include in other code.
Your link is well chosen, node-serialport is exactly what we're using in a prototype GCS to interface with an APM via xbee to provide to the MAVLink decoder. Using Now.js, we've got a bunch of web clients kept in sync, more or less in real time, with a stream of incoming MAVLink packets -- pick up the APM and move it around and watch a dashboard update in realtime across machines connected on a local network. It's a start! Huge respect to the open-source community for making it possible.
I'll be posting updates as we continue to work on this, and let me know if you have any questions,
- Bruce