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

http-server 14.1.1

A simple zero-configuration command-line http server
Package summary
Share
1
issue
1
critical severity
license
1
4
licenses
43
MIT
1
(WTFPL OR MIT)
1
BSD-3-Clause
1
N/A
Package created
17 Jun 2011
Version published
31 May 2022
Maintainers
3
Total deps
46
Direct deps
13
License
MIT

Issues

1

1 critical severity issue

critical
Recommendation: Check the package code and files for license information
via: union@0.5.0
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
43 Packages, Including:
ansi-styles@4.3.0
async@2.6.4
basic-auth@2.0.1
call-bind@1.0.7
chalk@4.1.2
color-convert@2.0.1
color-name@1.1.4
corser@2.0.1
debug@3.2.7
define-data-property@1.1.4
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-flag@4.0.0
has-property-descriptors@1.0.2
has-proto@1.0.3
has-symbols@1.0.3
hasown@2.0.2
he@1.2.0
html-encoding-sniffer@3.0.0
http-proxy@1.18.1
http-server@14.1.1
iconv-lite@0.6.3
lodash@4.17.21
mime@1.6.0
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
safe-buffer@5.1.2
safer-buffer@2.1.2
secure-compare@3.0.1
set-function-length@1.2.2
side-channel@1.0.6
supports-color@7.2.0
url-join@4.0.1
whatwg-encoding@2.0.0

(WTFPL OR MIT)

Permissive
1 Packages, Including:
opener@1.5.2

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

13
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
basic-auth2.0.13.66 kBMIT
prod
chalk4.1.211.31 kBMIT
prod
corser2.0.15.73 kBMIT
prod
he1.2.039.33 kBMIT
prod
html-encoding-sniffer3.0.03.75 kBMIT
prod
http-proxy1.18.166.74 kBMIT
prod
mime1.6.015.32 kBMIT
prod
minimist1.2.815.16 kBMIT
prod
opener1.5.23 kB(WTFPL OR MIT)
prod
portfinder1.0.326.38 kBMIT
prod
secure-compare3.0.11.11 kBMIT
prod
union0.5.024.67 kBUNKNOWN
prod
1
url-join4.0.15.64 kBMIT
prod

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.