Skip to content
Implementation of AMP in Node.js
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
examples
lib
tests
.gitignore
.travis.yml
LICENSE.txt
README.md
package.json

README.md

Node.js implementation of AMP. (http://amp-protocol.net)

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/ampclient.py. 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/ampserver.py 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.

###TODO:

  • AMP serialization format
  • real sample server and client
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.