Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on Apr 20, 2024 via pnpm

express 4.18.2

Fast, unopinionated, minimalist web framework
Package summary
Share
2
issues
2
moderate severity
vulnerability
2
3
licenses
61
MIT
2
ISC
1
BSD-3-Clause
Package created
29 Dec 2010
Version published
8 Oct 2022
Maintainers
2
Total deps
64
Direct deps
31
License
MIT

Issues

2

2 moderate severity issues

moderate
Recommendation: Upgrade to version 4.19.2 or later
via: express@4.18.2
Recommendation: Upgrade to version 4.19.2 or later
via: express@4.18.2
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
61 Packages, Including:
accepts@1.3.8
array-flatten@1.1.1
body-parser@1.20.1
bytes@3.1.2
call-bind@1.0.7
content-disposition@0.5.4
content-type@1.0.5
cookie-signature@1.0.6
cookie@0.5.0
debug@2.6.9
define-data-property@1.1.4
depd@2.0.0
destroy@1.2.0
ee-first@1.1.1
encodeurl@1.0.2
es-define-property@1.0.0
es-errors@1.3.0
escape-html@1.0.3
etag@1.8.1
express@4.18.2
finalhandler@1.2.0
forwarded@0.2.0
fresh@0.5.2
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
http-errors@2.0.0
iconv-lite@0.4.24
ipaddr.js@1.9.1
media-typer@0.3.0
merge-descriptors@1.0.1
methods@1.1.2
mime-db@1.52.0
mime-types@2.1.35
mime@1.6.0
ms@2.0.0
ms@2.1.3
negotiator@0.6.3
object-inspect@1.13.1
on-finished@2.4.1
parseurl@1.3.3
path-to-regexp@0.1.7
proxy-addr@2.0.7
range-parser@1.2.1
raw-body@2.5.1
safe-buffer@5.2.1

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
2 Packages, Including:
inherits@2.0.4
setprototypeof@1.2.0

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.11.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

31
All Dependencies CSV
β“˜ This is a list of express 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
accepts1.3.85.28 kBMIT
prod
array-flatten1.1.11.95 kBMIT
prod
body-parser1.20.114.62 kBMIT
prod
content-disposition0.5.46.58 kBMIT
prod
content-type1.0.53.82 kBMIT
prod
cookie-signature1.0.62.06 kBMIT
prod
cookie0.5.07.87 kBMIT
prod
debug2.6.916.13 kBMIT
prod
depd2.0.08.18 kBMIT
prod
encodeurl1.0.23.18 kBMIT
prod
escape-html1.0.31.87 kBMIT
prod
etag1.8.14.28 kBMIT
prod
finalhandler1.2.06.55 kBMIT
prod
fresh0.5.24.13 kBMIT
prod
http-errors2.0.06.19 kBMIT
prod
merge-descriptors1.0.12.26 kBMIT
prod
methods1.1.22.42 kBMIT
prod
on-finished2.4.14.93 kBMIT
prod
parseurl1.3.33.86 kBMIT
prod
path-to-regexp0.1.73.19 kBMIT
prod
proxy-addr2.0.75.37 kBMIT
prod
qs6.11.049.93 kBBSD-3-Clause
prod
range-parser1.2.13.52 kBMIT
prod
safe-buffer5.2.19.74 kBMIT
prod
send0.18.015.21 kBMIT
prod
serve-static1.15.08.31 kBMIT
prod
setprototypeof1.2.01.92 kBISC
prod
statuses2.0.14.57 kBMIT
prod
type-is1.6.185.73 kBMIT
prod
utils-merge1.0.11.91 kBMIT
prod
vary1.1.23.68 kBMIT
prod

Visualizations

Frequently Asked Questions

What does express do?

Express.js is a fast, unopinionated, and minimalist web development framework for Node.js. It's renowned for its robust routing and focus on high performance. Express doesn't enforce a specific ORM or template engine, making it an excellent solution for creating single page applications, websites, hybrids, or public HTTP APIs. This flexibility is further enhanced by support for over 14 template engines via Consolidate.js. In addition, Express provides a suite of HTTP utilities and middleware to help build scalable applications with ease.

How do you use express?

To use Express.js, you'll first need to download and install Node.js versions of 0.10 or higher. You can install Express in your Node.js modules using npm with the npm install express command.

Here's an example of how to create a basic Express application:

const express = require('express')
const app = express()

app.get('/', function (req, res) {
  res.send('Hello World')
})

app.listen(3000)

This creates an Express application that listens on port 3000, and responds with 'Hello World' for requests to the root URL (/) or route.

To quickly get started with Express, you could use the executable express(1) to generate an application skeleton by using the command npm install -g express-generator@4, create the app with express /tmp/foo && cd /tmp/foo, install dependencies with npm install and start the server with npm start.

Where are the express docs?

The official Express documentation, which includes a comprehensive guide to getting started, API references, and a variety of other resources, can be found on the Express.js website. The website repository is available on GitHub for those interested in contributing to the Express documentation. You could also engage with the Express community via Libera Chat IRC, Google Group or use Gitter for support and discussion.