Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Simple demonstration of using nodeJS integration module in custom Drupal modules.
PHP JavaScript
Latest commit 28c21d2 @rh0 moar tweaks n stuff

SwapIt Demonstration

This module is a simple demonstration of how to build a custom module utilizing the nodeJS integration module. For more information on how this module works check out Module Development with Drupal and NodeJS. The example code in the post is taken directly from this module.


  1. Install and enable the nodejs integration module along with the appropriate node server configuration.
  2. Enable the swapit demonstration module.
  3. Make sure your node server is running.
  4. Go to and check it out! Use a couple of sessions to see the node-ey goodness.
Something went wrong with that request. Please try again.