0.1.3 • Published 8 years ago

small-express v0.1.3

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

node-server

Simple http server and routing manager,

INSTALL

$ npm install small-express --save

USAGE

var small = require("small-express");
var app = small();

app.set("views", __dirname + "/views");

app.use(samll.static(__dirname + "/views"));

app.get("/", function (req, res) {
	res.send("hello world");
});

app.listen("5000", function() {
	console.log("App run at port 5000");
});

License

ISC

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago