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
To use your own diameter dictionary, set the 'DIAMETER_DICTIONARY' environment variable to path of the json file containing your dictionary, or name of node module that provides it. See 'node-diameter-dictionary' module for json file format, and how to create a node module that provides a dictionary.
Note: this module has a dependency on 'node-diameter-dictionary' module, so if you are using your own dictionary, you can optionaly remove the 'node-diameter-dictionary' dependency when doing the npm shrinkwrap of your application.
Makes it easier to work with diameter messages, by converting the arrays to objects: