Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Apr 22, 2024 via pnpm

http-server 0.8.5

A simple zero-configuration command-line http server
Package summary
Share
17
issues
3
critical severity
vulnerability
1
license
2
9
high severity
vulnerability
5
license
3
meta
1
2
moderate severity
vulnerability
2
3
low severity
license
3
5
licenses
15
MIT
2
N/A
2
MIT/X11
2
other licenses
(WTFPL OR MIT)
1
BSD
1
Package created
17 Jun 2011
Version published
26 Sep 2015
Maintainers
3
Total deps
21
Direct deps
8
License
MIT

Issues

17

3 critical severity issues

critical
Recommendation: Upgrade to version 0.2.4 or later
via: optimist@0.6.1
Recommendation: Check the package code and files for license information
via: ecstatic@0.7.6
Recommendation: Check the package code and files for license information
via: union@0.4.6
Collapse
Expand

9 high severity issues

high
Recommendation: Upgrade to version 2.2.2 or later
via: ecstatic@0.7.6
Recommendation: Upgrade to version 6.0.4 or later
via: union@0.4.6
Recommendation: Upgrade to version 2.0.0 or later
via: ecstatic@0.7.6
Recommendation: Upgrade to version 1.4.0 or later
via: ecstatic@0.7.6
Recommendation: Upgrade to version 6.2.4 or later
via: union@0.4.6
Recommendation: Validate that the package complies with your license policy
via: optimist@0.6.1
Recommendation: Validate that the package complies with your license policy
via: portfinder@0.4.0
Recommendation: Validate that the package complies with your license policy
via: union@0.4.6
via: ecstatic@0.7.6
Collapse
Expand

2 moderate severity issues

moderate
Recommendation: Upgrade to version 4.1.3 or later
via: ecstatic@0.7.6
Recommendation: Upgrade to version 0.2.1 or later
via: optimist@0.6.1
Collapse
Expand

3 low severity issues

low
Recommendation: Read and validate the license terms
via: optimist@0.6.1
Recommendation: Read and validate the license terms
via: portfinder@0.4.0
Recommendation: Read and validate the license terms
via: union@0.4.6
Collapse
Expand

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
15 Packages, Including:
async@0.9.0
colors@1.0.3
corser@2.0.1
eventemitter3@4.0.7
follow-redirects@1.15.6
he@0.5.0
http-proxy@1.18.1
http-server@0.8.5
mime@1.6.0
minimist@0.0.10
minimist@1.2.8
mkdirp@0.5.6
requires-port@1.0.0
url-join@0.0.1
wordwrap@0.0.3

N/A

N/A
2 Packages, Including:
ecstatic@0.7.6
union@0.4.6

MIT/X11

Invalid
Not OSI Approved
2 Packages, Including:
optimist@0.6.1
portfinder@0.4.0

(WTFPL OR MIT)

Permissive
1 Packages, Including:
opener@1.4.3

BSD

Invalid
Not OSI Approved
1 Packages, Including:
qs@2.3.3
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

8
All Dependencies CSV
β“˜ This is a list of http-server 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
colors1.0.387.07 kBMIT
prod
corser2.0.15.73 kBMIT
prod
ecstatic0.7.6201.98 kBUNKNOWN
prod
1
4
1
http-proxy1.18.166.74 kBMIT
prod
opener1.4.32.84 kB(WTFPL OR MIT)
prod
optimist0.6.112.06 kBMIT/X11
prod
1
1
1
1
portfinder0.4.04.21 kBMIT/X11
prod
1
1
union0.4.624.83 kBUNKNOWN
prod
1
3
1

Visualizations

Frequently Asked Questions

What does http-server do?

The http-server is a simple, zero-configuration command-line static HTTP server. It's easy to use and hackable for testing, local development, and learning even while powerful enough for production usage.

How do you use http-server?

The http-server can be installed and used in several ways. To run it on-demand, the npx tool can be used as follows:

npx http-server [path] [options]

If you want to install it globally via npm, use this command:

npm install --global http-server

You can also install it using Homebrew:

brew install http-server

Or add it as a dependency to your npm package with:

npm install http-server

After installing, usage of the http-server is kept simple. The general command is http-server [path] [options]. The [path] is optional and will default to ./public if the directory exists, otherwise, it will be ./. When the server is up and running, you can visit http://localhost:8080 to view your server.

Where are the http-server docs?

The full documentation, including all available options for using the http-server, can be found in the readme on the http-server's GitHub repository at git://github.com/http-party/http-server.git. The documentation outlines all available setup options, features (like magic files and TLS/SSL setup), and development guidelines.