Java script to control the serial port (USB Serial dongle)

Does anyone have a recent link to example code to send and receive over a com port?
Is it even possible?

Thank you,

Howabout this? (disclaimer: it was the first result of a google search)

It definitely is possible. I’ve worked with libraries built on node-serialport that work great.