1.0.5 • Published 1 year ago

rel-serve v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

rel-serve

Simple development http server to reponse static files

Installation

You need node.js and npm. You should probably install this globally.

Npm way

npm install -g rel-serve

if you want to use as dev dependency

npm install rel-serve --save-dev

Or you can just run this command inside your project's directory without installing

npx rel-serve

if want to install Manually and customize

git clone https://github.com/shantoislam6/rel_serve_sh.git
cd rel-serve
npm install # Local dependencies if you want to hack
npm install -g # Install globally

Once installation is done, you can run this command inside your project's directory

rel-serve

Or

rel-serve --port 8080 -host 127.0.0.1

Command line parameters:

  • --port NUMBER - select port to use, default: PORT env var or 8080
  • --host ADDRESS - select host address to bind to, default: IP env var or 0.0.0.0 ("any address")
  • --help | -h - display terse usage hint and exit
  • --version | -v - display version and exit

License

(MIT License)

Copyright (c) 2023 Shanto

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago