host-local-files
A simple cli tool that allows you to host a directory through nodeJS and express.
Getting Started
These instructions will get you a working cli running on your machine.
Prerequisites
What things you need to install the software and how to install them
- node.js
- npm (will be automatically installed with node)
Installing
Install the package via npm
npm i -g host-local-files
Start the server
To start the server run the following command
host-local-files <path to directory>
To serve the present working directory, just run
host-local-files .
Access the files
To access the files navigate to http://localhost:3000/
in your browser.
Built With
- Express - Fast, unopinionated, minimalist web framework for Node.js
Authors
- Hassaan Pasha - website
Acknowledgments
- PurpleBooth for the awesome README template