Skip to content

zaucy/node-sdom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Node.js SDOM Interface

Install

npm install sdom

Usage

const sdom = require("sdom");
const fs = require("fs");

var server = sdom.createServer(function(request, response) {
  // Serve files as normal.

  // SDOM will handle parsing data with the Content-Type
  // 'application/html' or 'text/html' and run the server
  // scripts.
});

server.listen(80);

About

Node.js interface for SDOM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published