Implementation of AMP in Node.js
JavaScript Shell

Node.js implementation of AMP. (

Build Status

Currently just provides functionality to receive an AMP box and send an AMP box (an AMP box being defined as a dictionary with utf8 strings as keys and Buffers as values).

###Server example: Run "node examples/ampserver.js" and twisted's doc/core/examples/ This just prints out the box received, but doesn't reply since the serialization layer hasn't been implemented yet.

###Client example: Run twisted's doc/core/examples/ and "node examples/ampclient.js". An AMP box is hacked togethe to do call Sum on two numbers on the amp server. The reply from the server (in AMP box form) is printed to the console.


  • AMP serialization format
  • real sample server and client