0.1.1 • Published 10 years ago

sinxelo v0.1.1

Weekly downloads
10
License
-
Repository
-
Last release
10 years ago

sinxelo

A simple nodejs http server used to serve static files. The ideas is to implement a web server using just Node Core, including domains, cluster and streams. Right know it just has some of the initial versión with some features like cluster and domains, but expect some updates in the near future with more.

To begin just require sinxelo, isntantitate with a config path and start the server

var Sinxelo = require("Sinxelo");

var sinxelo = new Sinxelo("config.json");
sinxelo.start();

The config file is where your settings are defined. Right now it just has a couple of things:

KeyDefaultDescription
path'./app'Path to the root directory where is all the static content
port8080Port where the http is going to start listening for requests