0.1.2 • Published 8 years ago

sayegh v0.1.2

Weekly downloads
4
License
MIT license
Repository
github
Last release
8 years ago

sayegh

A module for making a server in just 2 lines.

How to start:

Simply require the module and give it a response message and an optional port number

var server = require('sayegh');
server.start("response", 80);

You can also create customized responses based on the route hit with the get() function

server.get("/index", "response");
0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago