muxjs-http
v1.0.12
Published
Javascript web framework inspired by the package mux in Go (and express)
Maintainers
Readme
MuxJS
HTTP framework for Node.js inspired by the package mux in go.
const MuxJS = require('muxjs-http')
MuxJS.ListenAndServe(3000)
const r = MuxJS.NewRouter()
r.HandleFunc('/', handler).Method('GET')
function handler(w, r) {
w.Send(`Hello World!`)
}Installation
$ npm install muxjs-httpDocumentation/Demonstration
https://github.com/robin-andreasson/MuxJS/tree/beta/demonstration
