lite-web-server
Advanced tools
Comparing version 1.0.2-beta.1633053420 to 1.0.2-beta.1633100820
@@ -27,3 +27,3 @@ { | ||
"better-docs": { | ||
"name": "lite-web-server Documentation", | ||
"name": "lite-web-server v1.0.2-beta.1633100820", | ||
"title": "lite-web-server Documentation", | ||
@@ -35,2 +35,6 @@ "css": "/style.css", | ||
{ | ||
"label": "Top Page", | ||
"href": "https://lite-web-server.js.org/" | ||
}, | ||
{ | ||
"label": "Github", | ||
@@ -37,0 +41,0 @@ "href": "https://github.com/chasyumen/lite-web-server" |
@@ -0,0 +0,0 @@ /** |
@@ -7,9 +7,16 @@ const http = require('http'); | ||
/** | ||
* Start a WebServer. | ||
* WebServer's options. | ||
* @typedef WebServerOptions | ||
* @type {object} | ||
* @property {object} [options] | ||
* @property {string} [options.directory=./public/] - The directory to load the file. | ||
* @property {string} [options.notfound=default html code] - Html code to respond on not found. | ||
* @property {Number} [options.port=3000] - Port to host the page. | ||
*/ | ||
/** | ||
* Create a WebServer. | ||
* @constructor | ||
* @param {Object} [options] - WebServer Options. | ||
* @param {string} [options.directory=./public/] - The directory to load the file. | ||
* @param {string} [options.notfound] - Html code to respond on not found. | ||
* @param {Number} [options.port=3000] - Port to host the page. | ||
* @returns {boolean} | ||
* @param {WebServerOptions} [options] - WebServer Options. | ||
* @returns {WebServer} | ||
*/ | ||
@@ -16,0 +23,0 @@ |
{ | ||
"name": "lite-web-server", | ||
"version": "1.0.2-beta.1633053420", | ||
"version": "1.0.2-beta.1633100820", | ||
"description": "creates simple web server.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -0,0 +0,0 @@ # lite-web-server |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11158
203