mod examples based on node.js