A simple static web server.
Reece, why should I use this one over any of the others?
This is a fair question. As of checking on January 10th 2020, there are 68 pages of results for searching 'static server' on npm. This static server has many features, including (but not limited to):
- It has emojis.
- It automatically renders Markdown into HTML.
- It has a lot of customizable components (such as the last two features!).
- All production code is run through Babel.
- It is still being actively developed.
Installationnpm Package static-server-rdil
Run this in a terminal:
npx static-server-rdil [OPTIONS HERE]
To configure specific options, please see the help menu by running
npx static-server-rdil --help.
npx static-server-rdil --port 6001 --root site_output/
The source can be found on GitHub.