node-diameter is node.js implementation of Base Diameter protocol.
Check client and server in 'examples' directory.
To see it in action:
$ npm install
$ npm run-script example-server
$ npm run-script example-client
Makes it easier to work with diameter messages, by converting the arrays to objects: