Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on Jun 1, 2024 via pnpm

http-server 0.7.3

a simple zero-configuration command-line http server
Package summary
Share
21
issues
6
critical severity
license
6
11
high severity
vulnerability
7
license
2
meta
2
1
moderate severity
vulnerability
1
3
low severity
license
3
4
licenses
6
N/A
5
MIT
2
MIT/X11
1
WTFPL
Package created
17 Jun 2011
Version published
6 Nov 2014
Maintainers
3
Total deps
14
Direct deps
6
License
UNKNOWN

Issues

21

6 critical severity issues

critical
Recommendation: Check the package code and files for license information
via: colors@0.6.2
Recommendation: Check the package code and files for license information
via: ecstatic@0.5.8
Recommendation: Check the package code and files for license information
via: union@0.3.8
Recommendation: Check the package code and files for license information
via: portfinder@0.2.1
Recommendation: Check the package code and files for license information
via: union@0.3.8
Recommendation: Check the package code and files for license information
via: union@0.3.8
Collapse
Expand

11 high severity issues

high
Recommendation: Upgrade to version 2.2.2 or later
via: ecstatic@0.5.8
Recommendation: Upgrade to version 6.0.4 or later
via: union@0.3.8
Recommendation: Upgrade to version 1.0.0 or later
via: union@0.3.8
Recommendation: Upgrade to version 2.0.0 or later
via: ecstatic@0.5.8
Recommendation: Upgrade to version 1.0.0 or later
via: union@0.3.8
Recommendation: Upgrade to version 1.4.0 or later
via: ecstatic@0.5.8
Recommendation: Upgrade to version 6.2.4 or later
via: union@0.3.8
Recommendation: Validate that the package complies with your license policy
via: portfinder@0.2.1
Recommendation: Validate that the package complies with your license policy
via: optimist@0.5.2
via: ecstatic@0.5.8
via: portfinder@0.2.1
Collapse
Expand

1 moderate severity issue

moderate
Recommendation: Upgrade to version 4.1.3 or later
via: ecstatic@0.5.8
Collapse
Expand

3 low severity issues

low
Recommendation: Read and validate the license terms
via: portfinder@0.2.1
Recommendation: Read and validate the license terms
via: optimist@0.5.2
Recommendation: Read and validate the license terms
via: opener@1.3.0
Collapse
Expand

Licenses

N/A

N/A
6 Packages, Including:
colors@0.6.2
ecstatic@0.5.8
pkginfo@0.2.3
portfinder@0.2.1
qs@0.5.6
union@0.3.8

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
5 Packages, Including:
he@0.5.0
http-server@0.7.3
mime@1.6.0
minimist@1.2.8
wordwrap@0.0.3

MIT/X11

Invalid
Not OSI Approved
2 Packages, Including:
mkdirp@0.0.7
optimist@0.5.2

Do What The F*ck You Want To Public License

Permissive
Not OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
sublicense
distribute
modify
Cannot
Must
rename
1 Packages, Including:
opener@1.3.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

6
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
colors0.6.26.14 kBUNKNOWN
prod
1
ecstatic0.5.8204.57 kBUNKNOWN
prod
1
4
1
opener1.3.01.92 kBWTFPL
prod
1
optimist0.5.212.92 kBMIT/X11
prod
1
1
portfinder0.2.110 kBUNKNOWN
prod
1
2
1
union0.3.824.68 kBUNKNOWN
prod
3
4

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.