Serving HTML from SGML using core node.js http
var sgml = require('sgml')
var http = require('http')
http.createServer(sgml.middleware()).listen(8080, '127.0.0.1');
Serving HTML from SGML using express.js
var express = require('express');
var sgml = require("sgml");
var app = express();
app.use(sgml.middleware());
app.listen(8080);