diameter
v0.10.2
Published
Diameter base protocol implementation
Downloads
200
Maintainers
Readme
node-diameter
node-diameter is node.js implementation of Base Diameter protocol.
Usage
Check client and server in 'examples' directory.
To see it in action:
$ npm install
Start server:
$ npm run-script example-server
Start client:
$ npm run-script example-client
Using custom diameter dictionaries
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.
Complementary library
Makes it easier to work with diameter messages, by converting the arrays to objects: