m-server

M-Server is a mini http static server that without any dependencies;

Usage no npm install needed!

<script type="module">
  import mServer from 'https://cdn.skypack.dev/m-server';
</script>

README

M-Server is a mini http static server that without any dependencies;

Build Status dependencies Coverage Status Downloads Version License

useage

Install

npm install -g m-server

cd in your path and run

m-server

You can see something like this;

--------------------------------------------------------
    Mini http server running on port 7000 !
    You can open the floowing urls to view files.
    127.0.0.1:7000
    192.2.4.3:7000
    Have fun ^_^
--------------------------------------------------------

option

  • -p You can specify the port

m-server -p 3001