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 May 1, 2024 via pnpm

http-server 0.11.2

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

Issues

7

2 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: union@0.5.0
Collapse
Expand

2 high severity issues

high
Recommendation: Validate that the package complies with your license policy
via: optimist@0.6.1
via: ecstatic@3.3.2
Collapse
Expand

2 moderate severity issues

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

1 low severity issue

low
Recommendation: Read and validate the license terms
via: optimist@0.6.1
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
34 Packages, Including:
async@2.6.4
call-bind@1.0.7
colors@1.0.3
corser@2.0.1
debug@3.2.7
define-data-property@1.1.4
ecstatic@3.3.2
es-define-property@1.0.0
es-errors@1.3.0
eventemitter3@4.0.7
follow-redirects@1.15.6
function-bind@1.1.2
get-intrinsic@1.2.4
gopd@1.0.1
has-property-descriptors@1.0.2
has-proto@1.0.3
has-symbols@1.0.3
hasown@2.0.2
he@1.2.0
http-proxy@1.18.1
http-server@0.11.2
lodash@4.17.21
mime@1.6.0
minimist@0.0.10
minimist@1.2.8
mkdirp@0.5.6
ms@2.1.3
object-inspect@1.13.1
portfinder@1.0.32
requires-port@1.0.0
set-function-length@1.2.2
side-channel@1.0.6
url-join@2.0.5
wordwrap@0.0.3

(WTFPL OR MIT)

Permissive
1 Packages, Including:
opener@1.4.3

MIT/X11

Invalid
Not OSI Approved
1 Packages, Including:
optimist@0.6.1

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
qs@6.12.1

N/A

N/A
1 Packages, Including:
union@0.5.0
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
ecstatic3.3.2249.77 kBMIT
prod
1
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
portfinder1.0.326.38 kBMIT
prod
union0.5.024.67 kBUNKNOWN
prod
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.