Turn on/off maintenance page while working on production server.

npm install maintenance-page
4 downloads in the last week
15 downloads in the last month


In deployed service it doesn't show up professionalism while you are working on server at the same time user are getting proxy error or other unexpected problem (Which was in fact happening for's users ;)).

Thus i built this project so i can easily use "maintenance-page -m /path/to/my/temporary-down-html-files-dir" command to turn on maintenance page.


maintenance-page -m /path/to/my/temporary-down-html-files-dir


Available options:

*    -h, --help             Print this help

*    -P, --port NUMBER      Server port, by default 80

*    -H, --host HOST        Server host, by default

*    -m, --mount-dir FILE   Server directory from where index.html and related resources will be served, Required


  • v-0.1.1 - Fixed issue with not showing up page if request url is not "/" . Now it will be forced to index.html (by default) or use -d argument to set different page
npm loves you