Nine Parsecs from Milwaukee
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

@jcblw/mimas

0.2.0 • Public • Published

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

install

npm i @jcblw/mimas

Downloadsweekly downloads

4

version

0.2.0

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar