javascript-static-server
v1.1.0
Published
Server for serving static assets in developer environments such as documentation, images and html
Downloads
5
Readme
Summary
A non-production server designed to quickly make files within your project available via a static asset server.
Install Dev
npm install --save-dev javascript-static-server`
Or
yarn add --dev javascript-static-server`
Configure
/**
* Copy to your projects root as .serverconfigrc.js
*
* @type {{port: number, host: string}}
*/
module.exports = {
host: '127.0.0.1',
port: 8081
};
Using
yarn static-serve --help
yarn static-serve --h localhost -p 80 -c .custom.config.js