@testmaneiei/jsexpress 0.0.0-stage → 5.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,24 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2009-2014 TJ Holowaychuk <tj@vision-media.ca>
4
+ Copyright (c) 2013-2014 Roman Shtylman <shtylman+expressjs@gmail.com>
5
+ Copyright (c) 2014-2015 Douglas Christopher Wilson <doug@somethingdoug.com>
6
+
7
+ Permission is hereby granted, free of charge, to any person obtaining
8
+ a copy of this software and associated documentation files (the
9
+ 'Software'), to deal in the Software without restriction, including
10
+ without limitation the rights to use, copy, modify, merge, publish,
11
+ distribute, sublicense, and/or sell copies of the Software, and to
12
+ permit persons to whom the Software is furnished to do so, subject to
13
+ the following conditions:
14
+
15
+ The above copyright notice and this permission notice shall be
16
+ included in all copies or substantial portions of the Software.
17
+
18
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
19
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
21
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
22
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
23
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
24
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/Readme.md ADDED
@@ -0,0 +1,282 @@
1
+ <a href="https://expressjs.com/">
2
+ <picture>
3
+ <source media="(prefers-color-scheme: dark)" srcset="https://expressjs.com/images/logos/logo-express-white.svg">
4
+ <img alt="Express Logo" src="https://expressjs.com/images/logos/logo-express-black.svg" width="280">
5
+ </picture>
6
+ </a>
7
+
8
+ **Fast, unopinionated, minimalist web framework for [Node.js](https://nodejs.org).**
9
+
10
+ ## Table of contents
11
+
12
+ - [Installation](#installation)
13
+ - [Features](#features)
14
+ - [Docs \& Community](#docs--community)
15
+ - [Quick Start](#quick-start)
16
+ - [Philosophy](#philosophy)
17
+ - [Examples](#examples)
18
+ - [Contributing](#contributing)
19
+ - [Security Issues](#security-issues)
20
+ - [Running Tests](#running-tests)
21
+ - [Current project team members](#current-project-team-members)
22
+ - [TC (Technical Committee)](#tc-technical-committee)
23
+ - [TC emeriti members](#tc-emeriti-members)
24
+ - [Triagers](#triagers)
25
+ - [Emeritus Triagers](#emeritus-triagers)
26
+ - [License](#license)
27
+
28
+
29
+ [![NPM Version][npm-version-image]][npm-url]
30
+ [![NPM Downloads][npm-downloads-image]][npm-downloads-url]
31
+ [![Linux Build][github-actions-ci-image]][github-actions-ci-url]
32
+ [![Test Coverage][coveralls-image]][coveralls-url]
33
+ [![OpenSSF Scorecard Badge][ossf-scorecard-badge]][ossf-scorecard-visualizer]
34
+
35
+
36
+ ```js
37
+ import express from 'express'
38
+
39
+ const app = express()
40
+
41
+ app.get('/', (req, res) => {
42
+ res.send('Hello World')
43
+ })
44
+
45
+ app.listen(3000, () => {
46
+ console.log('Server is running on http://localhost:3000')
47
+ })
48
+ ```
49
+
50
+ ## Installation
51
+
52
+ This is a [Node.js](https://nodejs.org/en/) module available through the
53
+ [npm registry](https://www.npmjs.com/).
54
+
55
+ Before installing, [download and install Node.js](https://nodejs.org/en/download/).
56
+ Node.js 18 or higher is required.
57
+
58
+ If this is a brand new project, make sure to create a `package.json` first with
59
+ the [`npm init` command](https://docs.npmjs.com/creating-a-package-json-file).
60
+
61
+ Installation is done using the
62
+ [`npm install` command](https://docs.npmjs.com/downloading-and-installing-packages-locally):
63
+
64
+ ```bash
65
+ npm install express
66
+ ```
67
+
68
+ Follow [our installing guide](https://expressjs.com/en/starter/installing.html)
69
+ for more information.
70
+
71
+ ## Features
72
+
73
+ * Robust routing
74
+ * Focus on high performance
75
+ * Super-high test coverage
76
+ * HTTP helpers (redirection, caching, etc)
77
+ * View system supporting 14+ template engines
78
+ * Content negotiation
79
+ * Executable for generating applications quickly
80
+
81
+ ## Docs & Community
82
+
83
+ * [Website and Documentation](https://expressjs.com/) - [[website repo](https://github.com/expressjs/expressjs.com)]
84
+ * [GitHub Organization](https://github.com/expressjs) for Official Middleware & Modules
85
+ * [GitHub Discussions](https://github.com/expressjs/discussions) for discussion on the development and usage of Express
86
+
87
+ **PROTIP** Be sure to read the [migration guide to v5](https://expressjs.com/en/guide/migrating-5)
88
+
89
+ ## Quick Start
90
+
91
+ The quickest way to get started with express is to utilize the executable [`express(1)`](https://github.com/expressjs/generator) to generate an application as shown below:
92
+
93
+ Install the executable. The executable's major version will match Express's:
94
+
95
+ ```bash
96
+ npm install -g express-generator@4
97
+ ```
98
+
99
+ Create the app:
100
+
101
+ ```bash
102
+ express /tmp/foo && cd /tmp/foo
103
+ ```
104
+
105
+ Install dependencies:
106
+
107
+ ```bash
108
+ npm install
109
+ ```
110
+
111
+ Start the server:
112
+
113
+ ```bash
114
+ npm start
115
+ ```
116
+
117
+ View the website at: http://localhost:3000
118
+
119
+ ## Philosophy
120
+
121
+ The Express philosophy is to provide small, robust tooling for HTTP servers, making
122
+ it a great solution for single page applications, websites, hybrids, or public
123
+ HTTP APIs.
124
+
125
+ Express does not force you to use any specific ORM or template engine. With support for over
126
+ 14 template engines via [@ladjs/consolidate](https://github.com/ladjs/consolidate),
127
+ you can quickly craft your perfect framework.
128
+
129
+ ## Examples
130
+
131
+ To view the examples, clone the Express repository:
132
+
133
+ ```bash
134
+ git clone https://github.com/expressjs/express.git --depth 1 && cd express
135
+ ```
136
+
137
+ Then install the dependencies:
138
+
139
+ ```bash
140
+ npm install
141
+ ```
142
+
143
+ Then run whichever example you want:
144
+
145
+ ```bash
146
+ node examples/content-negotiation
147
+ ```
148
+
149
+ ## Contributing
150
+
151
+ The Express.js project welcomes all constructive contributions. Contributions take many forms,
152
+ from code for bug fixes and enhancements, to additions and fixes to documentation, additional
153
+ tests, triaging incoming pull requests and issues, and more!
154
+
155
+ See the [Contributing Guide] for more technical details on contributing.
156
+
157
+ This project has a [Code of Conduct]. By participating, you are expected to uphold this code.
158
+
159
+ ### Security Issues
160
+
161
+ If you discover a security vulnerability in Express, please see [Security Policies and Procedures](https://github.com/expressjs/express/security/policy).
162
+
163
+ ### Running Tests
164
+
165
+ To run the test suite, first install the dependencies:
166
+
167
+ ```bash
168
+ npm install
169
+ ```
170
+
171
+ Then run `npm test`:
172
+
173
+ ```bash
174
+ npm test
175
+ ```
176
+
177
+ ## Current project team members
178
+
179
+ For information about the governance of the express.js project, see [GOVERNANCE.md](https://github.com/expressjs/discussions/blob/HEAD/docs/GOVERNANCE.md).
180
+
181
+ The original author of Express is [TJ Holowaychuk](https://github.com/tj)
182
+
183
+ [List of all contributors](https://github.com/expressjs/express/graphs/contributors)
184
+
185
+ ### TC (Technical Committee)
186
+
187
+ * [UlisesGascon](https://github.com/UlisesGascon) - **Ulises Gascón** (he/him)
188
+ * [jonchurch](https://github.com/jonchurch) - **Jon Church**
189
+ * [wesleytodd](https://github.com/wesleytodd) - **Wes Todd**
190
+ * [LinusU](https://github.com/LinusU) - **Linus Unnebäck**
191
+ * [blakeembrey](https://github.com/blakeembrey) - **Blake Embrey**
192
+ * [sheplu](https://github.com/sheplu) - **Jean Burellier**
193
+ * [crandmck](https://github.com/crandmck) - **Rand McKinney**
194
+ * [ctcpip](https://github.com/ctcpip) - **Chris de Almeida**
195
+
196
+ <details>
197
+ <summary>TC emeriti members</summary>
198
+
199
+ #### TC emeriti members
200
+
201
+ * [dougwilson](https://github.com/dougwilson) - **Douglas Wilson**
202
+ * [hacksparrow](https://github.com/hacksparrow) - **Hage Yaapa**
203
+ * [jonathanong](https://github.com/jonathanong) - **jongleberry**
204
+ * [niftylettuce](https://github.com/niftylettuce) - **niftylettuce**
205
+ * [troygoode](https://github.com/troygoode) - **Troy Goode**
206
+ </details>
207
+
208
+
209
+ ### Triagers
210
+
211
+ * [aravindvnair99](https://github.com/aravindvnair99) - **Aravind Nair**
212
+ * [bjohansebas](https://github.com/bjohansebas) - **Sebastian Beltran**
213
+ * [carpasse](https://github.com/carpasse) - **Carlos Serrano**
214
+ * [CBID2](https://github.com/CBID2) - **Christine Belzie**
215
+ * [UlisesGascon](https://github.com/UlisesGascon) - **Ulises Gascón** (he/him)
216
+ * [IamLizu](https://github.com/IamLizu) - **S M Mahmudul Hasan** (he/him)
217
+ * [Phillip9587](https://github.com/Phillip9587) - **Phillip Barta**
218
+ * [efekrskl](https://github.com/efekrskl) - **Efe Karasakal**
219
+ * [rxmarbles](https://github.com/rxmarbles) - **Rick Markins** (he/him)
220
+ * [krzysdz](https://github.com/krzysdz)
221
+ * [GroophyLifefor](https://github.com/GroophyLifefor) - **Murat Kirazkaya**
222
+
223
+ <details>
224
+ <summary>Triagers emeriti members</summary>
225
+
226
+ #### Emeritus Triagers
227
+
228
+ * [AuggieH](https://github.com/AuggieH) - **Auggie Hudak**
229
+ * [G-Rath](https://github.com/G-Rath) - **Gareth Jones**
230
+ * [MohammadXroid](https://github.com/MohammadXroid) - **Mohammad Ayashi**
231
+ * [NawafSwe](https://github.com/NawafSwe) - **Nawaf Alsharqi**
232
+ * [NotMoni](https://github.com/NotMoni) - **Moni**
233
+ * [VigneshMurugan](https://github.com/VigneshMurugan) - **Vignesh Murugan**
234
+ * [davidmashe](https://github.com/davidmashe) - **David Ashe**
235
+ * [digitaIfabric](https://github.com/digitaIfabric) - **David**
236
+ * [e-l-i-s-e](https://github.com/e-l-i-s-e) - **Elise Bonner**
237
+ * [fed135](https://github.com/fed135) - **Frederic Charette**
238
+ * [firmanJS](https://github.com/firmanJS) - **Firman Abdul Hakim**
239
+ * [getspooky](https://github.com/getspooky) - **Yasser Ameur**
240
+ * [ghinks](https://github.com/ghinks) - **Glenn**
241
+ * [ghousemohamed](https://github.com/ghousemohamed) - **Ghouse Mohamed**
242
+ * [gireeshpunathil](https://github.com/gireeshpunathil) - **Gireesh Punathil**
243
+ * [jake32321](https://github.com/jake32321) - **Jake Reed**
244
+ * [jonchurch](https://github.com/jonchurch) - **Jon Church**
245
+ * [lekanikotun](https://github.com/lekanikotun) - **Troy Goode**
246
+ * [marsonya](https://github.com/marsonya) - **Lekan Ikotun**
247
+ * [mastermatt](https://github.com/mastermatt) - **Matt R. Wilson**
248
+ * [maxakuru](https://github.com/maxakuru) - **Max Edell**
249
+ * [mlrawlings](https://github.com/mlrawlings) - **Michael Rawlings**
250
+ * [rodion-arr](https://github.com/rodion-arr) - **Rodion Abdurakhimov**
251
+ * [sheplu](https://github.com/sheplu) - **Jean Burellier**
252
+ * [tarunyadav1](https://github.com/tarunyadav1) - **Tarun yadav**
253
+ * [tunniclm](https://github.com/tunniclm) - **Mike Tunnicliffe**
254
+ * [enyoghasim](https://github.com/enyoghasim) - **David Enyoghasim**
255
+ * [0ss](https://github.com/0ss) - **Salah**
256
+ * [ejcheng](https://github.com/ejcheng)- **Eric Cheng** (he/him)
257
+ * [dakshkhetan](https://github.com/dakshkhetan) - **Daksh Khetan** (he/him)
258
+ * [lucasraziel](https://github.com/lucasraziel) - **Lucas Soares Do Rego**
259
+ * [mertcanaltin](https://github.com/mertcanaltin) - **Mert Can Altin**
260
+ * [dpopp07](https://github.com/dpopp07) - **Dustin Popp**
261
+ * [Sushmeet](https://github.com/Sushmeet) - **Sushmeet Sunger**
262
+ * [3imed-jaberi](https://github.com/3imed-jaberi) - **Imed Jaberi**
263
+
264
+ </details>
265
+
266
+
267
+ ## License
268
+
269
+ [MIT](LICENSE)
270
+
271
+ [coveralls-image]: https://img.shields.io/coverallsCoverage/github/expressjs/express?branch=master
272
+ [coveralls-url]: https://coveralls.io/r/expressjs/express?branch=master
273
+ [github-actions-ci-image]: https://img.shields.io/github/actions/workflow/status/expressjs/express/ci.yml?branch=master&label=ci
274
+ [github-actions-ci-url]: https://github.com/expressjs/express/actions/workflows/ci.yml
275
+ [npm-downloads-image]: https://img.shields.io/npm/dm/express
276
+ [npm-downloads-url]: https://npmcharts.com/compare/express?minimal=true
277
+ [npm-url]: https://npmjs.org/package/express
278
+ [npm-version-image]: https://img.shields.io/npm/v/express
279
+ [ossf-scorecard-badge]: https://api.scorecard.dev/projects/github.com/expressjs/express/badge
280
+ [ossf-scorecard-visualizer]: https://ossf.github.io/scorecard-visualizer/#/projects/github.com/expressjs/express
281
+ [Code of Conduct]: https://github.com/expressjs/.github/blob/HEAD/CODE_OF_CONDUCT.md
282
+ [Contributing Guide]: https://github.com/expressjs/.github/blob/HEAD/CONTRIBUTING.md
package/index.js ADDED
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * express
3
+ * Copyright(c) 2009-2013 TJ Holowaychuk
4
+ * Copyright(c) 2013 Roman Shtylman
5
+ * Copyright(c) 2014-2015 Douglas Christopher Wilson
6
+ * MIT Licensed
7
+ */
8
+
9
+ 'use strict';
10
+
11
+ module.exports = require('./lib/express');
package/index.mjs.map ADDED
Binary file