API Reference

Name Description
HTMLServersideSGMLFilter Filter/forwarder adding a HTML link element for advertising server-side SGML support.
Markuprequest Module for HTTP request processing using modified JSGI interface conventions.
Markupresponse Connect/Express-like response object implementation to use in a coJs environment.
RequestParams Class for representing the set of HTTP parameters for a given request.

Name Description

Serving HTML from SGML using core node.js http

var sgml = require('sgml')
var http = require('http')
http.createServer(sgml.middleware()).listen(8080, '');

Serving HTML from SGML using express.js

var express = require('express');
var sgml = require("sgml");
var app = express();