javascript-static-server

1.1.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i javascript-static-server

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

4.74 kB

Total Files

13

Last publish

Collaborators

  • tylerssn