@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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.0
    1
  • 0.1.0
    0

Package Sidebar

Install

npm i @jcblw/mimas

Weekly Downloads

1

Version

0.2.0

License

ISC

Last publish

Collaborators

  • ~jcblw