0.2.0 • Published 8 years ago

@jcblw/mimas v0.2.0

Weekly downloads
1
License
ISC
Repository
github
Last release
8 years ago

Mimas

A moon of saturn 🌚 and a zero config server experiment.

The idea

Have a module build a server and require a directory to load all paths and middleware.

eg.

const {get} = require('@jsblw/mimas')

get('/', (req, res) => {
  res.end('Hello Mimas')
})

I should just be able to throw this into my ./server directory and mimas should know how to run this.

To start this currently do.

node -r @jsblw/mimas index.js