npm

Need private packages and team management tools?Check out npm Orgs. »

mox-server

0.2.0 • Public • Published

A tiny server for hosting noxmox mox data (emulated S3 data) as text/html on localhost.

Use: require("mox-server").runServer(port, onstarthandler)

port and the onstarthandler callback are optional, but when passed should be a number, and a parameter-less callback function, respectively.

This server simply looks at the mox directory and tries to resolve files to content from buckets.

mox-server is smart enough not to run multiple times if you use it across multiple projects, so if you fire it up several times on the same port, it'll gracefully not run beyond the first call.

Keywords

none

install

npm i mox-server

Downloadsweekly downloads

40

version

0.2.0

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability