node-http-server
Advanced tools
Comparing version 4.5.0 to 4.5.1
{ | ||
"name": "node-http-server", | ||
"version": "4.5.0", | ||
"version": "4.5.1", | ||
"description": "A very simple and fast http server for node, bash, and spawnable from C, Python etc. It is lightweight and great for embedded solutions as well as everyday development or public facing apps.", | ||
@@ -5,0 +5,0 @@ "main": "server/http.js", |
@@ -328,3 +328,2 @@ Node http server | ||
body.value=body.value.replace('{{some-content}}',serverIPs); | ||
return IPs; | ||
@@ -334,2 +333,22 @@ } | ||
module.exports=MyAwesomeServer; | ||
``` | ||
```javascript | ||
var AwesomeServer=require('MyAwesomeServer'); | ||
var server=new AwesomeServer; | ||
server.deploy( | ||
{ | ||
port:8000, | ||
root:'~/myAwesomeApp' | ||
} | ||
); | ||
console.log(server.IP); | ||
``` |
@@ -21,3 +21,3 @@ /*jslint node: true */ | ||
var server=new Server; | ||
deploy(); | ||
server.deploy(); | ||
} | ||
@@ -24,0 +24,0 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
37249
353
1