0.1.5 • Published 9 years ago

server-butler v0.1.5

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

Server Butler

Server Butler is a picky, opinionated web framework that only handles GET requests*

To use

Install with the command npm install server-butler Pull into your server.js file with var butler = require('server-butler') Also require ('http') to setup your server Set a route using butler.set(route, method, content) Each argument should be a string. route = the intended route, ie '/' or '/hello/world' method = 'GET', that's the only thing that works right now! content = either a string ie 'hello world' or a filename relative to ../public

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago