Skip to content

Diameter base protocol implementation for NodeJS

License

Notifications You must be signed in to change notification settings

VoicenterTeam/node-diameter

 
 

Repository files navigation

node-diameter

Gitter npm version Build Status Code Climate Test Coverage

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:

https://github.com/node-diameter/node-diameter-avp-object

About

Diameter base protocol implementation for NodeJS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%