rippanteq7 jbilcke-hf HF staff commited on
Commit
0b7e92d
0 Parent(s):

Duplicate from jbilcke-hf/template-node-python-express

Browse files

Co-authored-by: Julian Bilcke <jbilcke-hf@users.noreply.huggingface.co>

Files changed (11) hide show
  1. .dockerignore +2 -0
  2. .gitignore +4 -0
  3. .nvmrc +1 -0
  4. Dockerfile +32 -0
  5. LICENSE.txt +201 -0
  6. README.md +43 -0
  7. package-lock.json +949 -0
  8. package.json +20 -0
  9. requirements.txt +1 -0
  10. src/index.mts +22 -0
  11. tsconfig.json +12 -0
.dockerignore ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ node_modules
2
+ npm-debug.log
.gitignore ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ node_modules
2
+ *.log
3
+ *.bin
4
+ .DS_Store
.nvmrc ADDED
@@ -0,0 +1 @@
 
 
1
+ v18.16.0
Dockerfile ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:latest
2
+
3
+ ENV PYTHONUNBUFFERED 1
4
+
5
+ EXPOSE 7860
6
+
7
+ RUN apt update
8
+
9
+ RUN apt install curl
10
+
11
+ RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
12
+
13
+ RUN apt install nodejs
14
+
15
+ RUN useradd -m -u 1000 user
16
+ USER user
17
+ ENV HOME=/home/user \
18
+ PATH=/home/user/.local/bin:$PATH
19
+
20
+ WORKDIR $HOME/app
21
+
22
+ COPY --chown=user package*.json .
23
+
24
+ RUN npm install
25
+
26
+ COPY requirements.txt ./
27
+ RUN pip install --upgrade pip && \
28
+ pip install -r requirements.txt
29
+
30
+ COPY --chown=user . .
31
+
32
+ CMD [ "npm", "run", "start" ]
LICENSE.txt ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
README.md ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: Template Node Python Express
3
+ emoji: 🐍
4
+ colorFrom: yellow
5
+ colorTo: green
6
+ sdk: docker
7
+ pinned: false
8
+ app_port: 7860
9
+ duplicated_from: jbilcke-hf/template-node-python-express
10
+ ---
11
+
12
+ A minimalist Docker space to help people getting started with Node, Python, Express and TypeScript.
13
+ Ready to be used in a Hugging Face Space.
14
+
15
+ You read it right: this template project will help you call Python libraries from NodeJS!
16
+
17
+ ## Installation
18
+
19
+ ### Prerequisites
20
+
21
+ - Install NVM: https://github.com/nvm-sh/nvm
22
+ - Install Docker https://www.docker.com
23
+
24
+ ### Building and run without Docker
25
+
26
+ ```bash
27
+ nvm use
28
+ npm i
29
+ npm run start
30
+ ```
31
+
32
+ ### Building and running with Docker
33
+
34
+ ```bash
35
+ npm run docker
36
+ ```
37
+
38
+ This script is a shortcut executing the following commands:
39
+
40
+ ```bash
41
+ docker build -t template-node-python-express .
42
+ docker run -it -p 7860:7860 template-node-python-express
43
+ ```
package-lock.json ADDED
@@ -0,0 +1,949 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "template-node-express",
3
+ "version": "1.0.0",
4
+ "lockfileVersion": 3,
5
+ "requires": true,
6
+ "packages": {
7
+ "": {
8
+ "name": "template-node-express",
9
+ "version": "1.0.0",
10
+ "license": "Apache License",
11
+ "dependencies": {
12
+ "@types/express": "^4.17.17",
13
+ "express": "^4.18.2",
14
+ "pythonia": "^1.0.2",
15
+ "ts-node": "^10.9.1"
16
+ }
17
+ },
18
+ "node_modules/@cspotcode/source-map-support": {
19
+ "version": "0.8.1",
20
+ "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz",
21
+ "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==",
22
+ "dependencies": {
23
+ "@jridgewell/trace-mapping": "0.3.9"
24
+ },
25
+ "engines": {
26
+ "node": ">=12"
27
+ }
28
+ },
29
+ "node_modules/@jridgewell/resolve-uri": {
30
+ "version": "3.1.1",
31
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz",
32
+ "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==",
33
+ "engines": {
34
+ "node": ">=6.0.0"
35
+ }
36
+ },
37
+ "node_modules/@jridgewell/sourcemap-codec": {
38
+ "version": "1.4.15",
39
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz",
40
+ "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg=="
41
+ },
42
+ "node_modules/@jridgewell/trace-mapping": {
43
+ "version": "0.3.9",
44
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz",
45
+ "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==",
46
+ "dependencies": {
47
+ "@jridgewell/resolve-uri": "^3.0.3",
48
+ "@jridgewell/sourcemap-codec": "^1.4.10"
49
+ }
50
+ },
51
+ "node_modules/@tsconfig/node10": {
52
+ "version": "1.0.9",
53
+ "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz",
54
+ "integrity": "sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA=="
55
+ },
56
+ "node_modules/@tsconfig/node12": {
57
+ "version": "1.0.11",
58
+ "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz",
59
+ "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag=="
60
+ },
61
+ "node_modules/@tsconfig/node14": {
62
+ "version": "1.0.3",
63
+ "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz",
64
+ "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow=="
65
+ },
66
+ "node_modules/@tsconfig/node16": {
67
+ "version": "1.0.4",
68
+ "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz",
69
+ "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA=="
70
+ },
71
+ "node_modules/@types/body-parser": {
72
+ "version": "1.19.2",
73
+ "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz",
74
+ "integrity": "sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==",
75
+ "dependencies": {
76
+ "@types/connect": "*",
77
+ "@types/node": "*"
78
+ }
79
+ },
80
+ "node_modules/@types/connect": {
81
+ "version": "3.4.35",
82
+ "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz",
83
+ "integrity": "sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==",
84
+ "dependencies": {
85
+ "@types/node": "*"
86
+ }
87
+ },
88
+ "node_modules/@types/express": {
89
+ "version": "4.17.17",
90
+ "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.17.tgz",
91
+ "integrity": "sha512-Q4FmmuLGBG58btUnfS1c1r/NQdlp3DMfGDGig8WhfpA2YRUtEkxAjkZb0yvplJGYdF1fsQ81iMDcH24sSCNC/Q==",
92
+ "dependencies": {
93
+ "@types/body-parser": "*",
94
+ "@types/express-serve-static-core": "^4.17.33",
95
+ "@types/qs": "*",
96
+ "@types/serve-static": "*"
97
+ }
98
+ },
99
+ "node_modules/@types/express-serve-static-core": {
100
+ "version": "4.17.35",
101
+ "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.35.tgz",
102
+ "integrity": "sha512-wALWQwrgiB2AWTT91CB62b6Yt0sNHpznUXeZEcnPU3DRdlDIz74x8Qg1UUYKSVFi+va5vKOLYRBI1bRKiLLKIg==",
103
+ "dependencies": {
104
+ "@types/node": "*",
105
+ "@types/qs": "*",
106
+ "@types/range-parser": "*",
107
+ "@types/send": "*"
108
+ }
109
+ },
110
+ "node_modules/@types/mime": {
111
+ "version": "1.3.2",
112
+ "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz",
113
+ "integrity": "sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw=="
114
+ },
115
+ "node_modules/@types/node": {
116
+ "version": "20.3.1",
117
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-20.3.1.tgz",
118
+ "integrity": "sha512-EhcH/wvidPy1WeML3TtYFGR83UzjxeWRen9V402T8aUGYsCHOmfoisV3ZSg03gAFIbLq8TnWOJ0f4cALtnSEUg=="
119
+ },
120
+ "node_modules/@types/qs": {
121
+ "version": "6.9.7",
122
+ "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz",
123
+ "integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw=="
124
+ },
125
+ "node_modules/@types/range-parser": {
126
+ "version": "1.2.4",
127
+ "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.4.tgz",
128
+ "integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw=="
129
+ },
130
+ "node_modules/@types/send": {
131
+ "version": "0.17.1",
132
+ "resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.1.tgz",
133
+ "integrity": "sha512-Cwo8LE/0rnvX7kIIa3QHCkcuF21c05Ayb0ZfxPiv0W8VRiZiNW/WuRupHKpqqGVGf7SUA44QSOUKaEd9lIrd/Q==",
134
+ "dependencies": {
135
+ "@types/mime": "^1",
136
+ "@types/node": "*"
137
+ }
138
+ },
139
+ "node_modules/@types/serve-static": {
140
+ "version": "1.15.1",
141
+ "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.1.tgz",
142
+ "integrity": "sha512-NUo5XNiAdULrJENtJXZZ3fHtfMolzZwczzBbnAeBbqBwG+LaG6YaJtuwzwGSQZ2wsCrxjEhNNjAkKigy3n8teQ==",
143
+ "dependencies": {
144
+ "@types/mime": "*",
145
+ "@types/node": "*"
146
+ }
147
+ },
148
+ "node_modules/accepts": {
149
+ "version": "1.3.8",
150
+ "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
151
+ "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==",
152
+ "dependencies": {
153
+ "mime-types": "~2.1.34",
154
+ "negotiator": "0.6.3"
155
+ },
156
+ "engines": {
157
+ "node": ">= 0.6"
158
+ }
159
+ },
160
+ "node_modules/acorn": {
161
+ "version": "8.9.0",
162
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.9.0.tgz",
163
+ "integrity": "sha512-jaVNAFBHNLXspO543WnNNPZFRtavh3skAkITqD0/2aeMkKZTN+254PyhwxFYrk3vQ1xfY+2wbesJMs/JC8/PwQ==",
164
+ "bin": {
165
+ "acorn": "bin/acorn"
166
+ },
167
+ "engines": {
168
+ "node": ">=0.4.0"
169
+ }
170
+ },
171
+ "node_modules/acorn-walk": {
172
+ "version": "8.2.0",
173
+ "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz",
174
+ "integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==",
175
+ "engines": {
176
+ "node": ">=0.4.0"
177
+ }
178
+ },
179
+ "node_modules/ansi-styles": {
180
+ "version": "4.3.0",
181
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
182
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
183
+ "dependencies": {
184
+ "color-convert": "^2.0.1"
185
+ },
186
+ "engines": {
187
+ "node": ">=8"
188
+ },
189
+ "funding": {
190
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
191
+ }
192
+ },
193
+ "node_modules/arg": {
194
+ "version": "4.1.3",
195
+ "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz",
196
+ "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA=="
197
+ },
198
+ "node_modules/array-flatten": {
199
+ "version": "1.1.1",
200
+ "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
201
+ "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg=="
202
+ },
203
+ "node_modules/body-parser": {
204
+ "version": "1.20.1",
205
+ "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz",
206
+ "integrity": "sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==",
207
+ "dependencies": {
208
+ "bytes": "3.1.2",
209
+ "content-type": "~1.0.4",
210
+ "debug": "2.6.9",
211
+ "depd": "2.0.0",
212
+ "destroy": "1.2.0",
213
+ "http-errors": "2.0.0",
214
+ "iconv-lite": "0.4.24",
215
+ "on-finished": "2.4.1",
216
+ "qs": "6.11.0",
217
+ "raw-body": "2.5.1",
218
+ "type-is": "~1.6.18",
219
+ "unpipe": "1.0.0"
220
+ },
221
+ "engines": {
222
+ "node": ">= 0.8",
223
+ "npm": "1.2.8000 || >= 1.4.16"
224
+ }
225
+ },
226
+ "node_modules/bytes": {
227
+ "version": "3.1.2",
228
+ "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz",
229
+ "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==",
230
+ "engines": {
231
+ "node": ">= 0.8"
232
+ }
233
+ },
234
+ "node_modules/call-bind": {
235
+ "version": "1.0.2",
236
+ "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz",
237
+ "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==",
238
+ "dependencies": {
239
+ "function-bind": "^1.1.1",
240
+ "get-intrinsic": "^1.0.2"
241
+ },
242
+ "funding": {
243
+ "url": "https://github.com/sponsors/ljharb"
244
+ }
245
+ },
246
+ "node_modules/caller": {
247
+ "version": "1.1.0",
248
+ "resolved": "https://registry.npmjs.org/caller/-/caller-1.1.0.tgz",
249
+ "integrity": "sha512-n+21IZC3j06YpCWaxmUy5AnVqhmCIM2bQtqQyy00HJlmStRt6kwDX5F9Z97pqwAB+G/tgSz6q/kUBbNyQzIubw=="
250
+ },
251
+ "node_modules/chalk": {
252
+ "version": "4.1.2",
253
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
254
+ "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
255
+ "dependencies": {
256
+ "ansi-styles": "^4.1.0",
257
+ "supports-color": "^7.1.0"
258
+ },
259
+ "engines": {
260
+ "node": ">=10"
261
+ },
262
+ "funding": {
263
+ "url": "https://github.com/chalk/chalk?sponsor=1"
264
+ }
265
+ },
266
+ "node_modules/color-convert": {
267
+ "version": "2.0.1",
268
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
269
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
270
+ "dependencies": {
271
+ "color-name": "~1.1.4"
272
+ },
273
+ "engines": {
274
+ "node": ">=7.0.0"
275
+ }
276
+ },
277
+ "node_modules/color-name": {
278
+ "version": "1.1.4",
279
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
280
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
281
+ },
282
+ "node_modules/content-disposition": {
283
+ "version": "0.5.4",
284
+ "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz",
285
+ "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==",
286
+ "dependencies": {
287
+ "safe-buffer": "5.2.1"
288
+ },
289
+ "engines": {
290
+ "node": ">= 0.6"
291
+ }
292
+ },
293
+ "node_modules/content-type": {
294
+ "version": "1.0.5",
295
+ "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz",
296
+ "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==",
297
+ "engines": {
298
+ "node": ">= 0.6"
299
+ }
300
+ },
301
+ "node_modules/cookie": {
302
+ "version": "0.5.0",
303
+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz",
304
+ "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==",
305
+ "engines": {
306
+ "node": ">= 0.6"
307
+ }
308
+ },
309
+ "node_modules/cookie-signature": {
310
+ "version": "1.0.6",
311
+ "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
312
+ "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ=="
313
+ },
314
+ "node_modules/create-require": {
315
+ "version": "1.1.1",
316
+ "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz",
317
+ "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ=="
318
+ },
319
+ "node_modules/debug": {
320
+ "version": "2.6.9",
321
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
322
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
323
+ "dependencies": {
324
+ "ms": "2.0.0"
325
+ }
326
+ },
327
+ "node_modules/depd": {
328
+ "version": "2.0.0",
329
+ "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",
330
+ "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==",
331
+ "engines": {
332
+ "node": ">= 0.8"
333
+ }
334
+ },
335
+ "node_modules/destroy": {
336
+ "version": "1.2.0",
337
+ "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz",
338
+ "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==",
339
+ "engines": {
340
+ "node": ">= 0.8",
341
+ "npm": "1.2.8000 || >= 1.4.16"
342
+ }
343
+ },
344
+ "node_modules/diff": {
345
+ "version": "4.0.2",
346
+ "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz",
347
+ "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==",
348
+ "engines": {
349
+ "node": ">=0.3.1"
350
+ }
351
+ },
352
+ "node_modules/ee-first": {
353
+ "version": "1.1.1",
354
+ "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
355
+ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow=="
356
+ },
357
+ "node_modules/encodeurl": {
358
+ "version": "1.0.2",
359
+ "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
360
+ "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==",
361
+ "engines": {
362
+ "node": ">= 0.8"
363
+ }
364
+ },
365
+ "node_modules/escape-html": {
366
+ "version": "1.0.3",
367
+ "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
368
+ "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow=="
369
+ },
370
+ "node_modules/etag": {
371
+ "version": "1.8.1",
372
+ "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
373
+ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==",
374
+ "engines": {
375
+ "node": ">= 0.6"
376
+ }
377
+ },
378
+ "node_modules/express": {
379
+ "version": "4.18.2",
380
+ "resolved": "https://registry.npmjs.org/express/-/express-4.18.2.tgz",
381
+ "integrity": "sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==",
382
+ "dependencies": {
383
+ "accepts": "~1.3.8",
384
+ "array-flatten": "1.1.1",
385
+ "body-parser": "1.20.1",
386
+ "content-disposition": "0.5.4",
387
+ "content-type": "~1.0.4",
388
+ "cookie": "0.5.0",
389
+ "cookie-signature": "1.0.6",
390
+ "debug": "2.6.9",
391
+ "depd": "2.0.0",
392
+ "encodeurl": "~1.0.2",
393
+ "escape-html": "~1.0.3",
394
+ "etag": "~1.8.1",
395
+ "finalhandler": "1.2.0",
396
+ "fresh": "0.5.2",
397
+ "http-errors": "2.0.0",
398
+ "merge-descriptors": "1.0.1",
399
+ "methods": "~1.1.2",
400
+ "on-finished": "2.4.1",
401
+ "parseurl": "~1.3.3",
402
+ "path-to-regexp": "0.1.7",
403
+ "proxy-addr": "~2.0.7",
404
+ "qs": "6.11.0",
405
+ "range-parser": "~1.2.1",
406
+ "safe-buffer": "5.2.1",
407
+ "send": "0.18.0",
408
+ "serve-static": "1.15.0",
409
+ "setprototypeof": "1.2.0",
410
+ "statuses": "2.0.1",
411
+ "type-is": "~1.6.18",
412
+ "utils-merge": "1.0.1",
413
+ "vary": "~1.1.2"
414
+ },
415
+ "engines": {
416
+ "node": ">= 0.10.0"
417
+ }
418
+ },
419
+ "node_modules/finalhandler": {
420
+ "version": "1.2.0",
421
+ "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz",
422
+ "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==",
423
+ "dependencies": {
424
+ "debug": "2.6.9",
425
+ "encodeurl": "~1.0.2",
426
+ "escape-html": "~1.0.3",
427
+ "on-finished": "2.4.1",
428
+ "parseurl": "~1.3.3",
429
+ "statuses": "2.0.1",
430
+ "unpipe": "~1.0.0"
431
+ },
432
+ "engines": {
433
+ "node": ">= 0.8"
434
+ }
435
+ },
436
+ "node_modules/forwarded": {
437
+ "version": "0.2.0",
438
+ "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz",
439
+ "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==",
440
+ "engines": {
441
+ "node": ">= 0.6"
442
+ }
443
+ },
444
+ "node_modules/fresh": {
445
+ "version": "0.5.2",
446
+ "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
447
+ "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==",
448
+ "engines": {
449
+ "node": ">= 0.6"
450
+ }
451
+ },
452
+ "node_modules/function-bind": {
453
+ "version": "1.1.1",
454
+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
455
+ "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
456
+ },
457
+ "node_modules/get-intrinsic": {
458
+ "version": "1.2.1",
459
+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz",
460
+ "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==",
461
+ "dependencies": {
462
+ "function-bind": "^1.1.1",
463
+ "has": "^1.0.3",
464
+ "has-proto": "^1.0.1",
465
+ "has-symbols": "^1.0.3"
466
+ },
467
+ "funding": {
468
+ "url": "https://github.com/sponsors/ljharb"
469
+ }
470
+ },
471
+ "node_modules/has": {
472
+ "version": "1.0.3",
473
+ "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
474
+ "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
475
+ "dependencies": {
476
+ "function-bind": "^1.1.1"
477
+ },
478
+ "engines": {
479
+ "node": ">= 0.4.0"
480
+ }
481
+ },
482
+ "node_modules/has-flag": {
483
+ "version": "4.0.0",
484
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
485
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
486
+ "engines": {
487
+ "node": ">=8"
488
+ }
489
+ },
490
+ "node_modules/has-proto": {
491
+ "version": "1.0.1",
492
+ "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz",
493
+ "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==",
494
+ "engines": {
495
+ "node": ">= 0.4"
496
+ },
497
+ "funding": {
498
+ "url": "https://github.com/sponsors/ljharb"
499
+ }
500
+ },
501
+ "node_modules/has-symbols": {
502
+ "version": "1.0.3",
503
+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz",
504
+ "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==",
505
+ "engines": {
506
+ "node": ">= 0.4"
507
+ },
508
+ "funding": {
509
+ "url": "https://github.com/sponsors/ljharb"
510
+ }
511
+ },
512
+ "node_modules/http-errors": {
513
+ "version": "2.0.0",
514
+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz",
515
+ "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==",
516
+ "dependencies": {
517
+ "depd": "2.0.0",
518
+ "inherits": "2.0.4",
519
+ "setprototypeof": "1.2.0",
520
+ "statuses": "2.0.1",
521
+ "toidentifier": "1.0.1"
522
+ },
523
+ "engines": {
524
+ "node": ">= 0.8"
525
+ }
526
+ },
527
+ "node_modules/iconv-lite": {
528
+ "version": "0.4.24",
529
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
530
+ "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
531
+ "dependencies": {
532
+ "safer-buffer": ">= 2.1.2 < 3"
533
+ },
534
+ "engines": {
535
+ "node": ">=0.10.0"
536
+ }
537
+ },
538
+ "node_modules/inherits": {
539
+ "version": "2.0.4",
540
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
541
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
542
+ },
543
+ "node_modules/ipaddr.js": {
544
+ "version": "1.9.1",
545
+ "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
546
+ "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==",
547
+ "engines": {
548
+ "node": ">= 0.10"
549
+ }
550
+ },
551
+ "node_modules/make-error": {
552
+ "version": "1.3.6",
553
+ "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz",
554
+ "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw=="
555
+ },
556
+ "node_modules/media-typer": {
557
+ "version": "0.3.0",
558
+ "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
559
+ "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==",
560
+ "engines": {
561
+ "node": ">= 0.6"
562
+ }
563
+ },
564
+ "node_modules/merge-descriptors": {
565
+ "version": "1.0.1",
566
+ "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",
567
+ "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w=="
568
+ },
569
+ "node_modules/methods": {
570
+ "version": "1.1.2",
571
+ "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
572
+ "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==",
573
+ "engines": {
574
+ "node": ">= 0.6"
575
+ }
576
+ },
577
+ "node_modules/mime": {
578
+ "version": "1.6.0",
579
+ "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
580
+ "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",
581
+ "bin": {
582
+ "mime": "cli.js"
583
+ },
584
+ "engines": {
585
+ "node": ">=4"
586
+ }
587
+ },
588
+ "node_modules/mime-db": {
589
+ "version": "1.52.0",
590
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
591
+ "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
592
+ "engines": {
593
+ "node": ">= 0.6"
594
+ }
595
+ },
596
+ "node_modules/mime-types": {
597
+ "version": "2.1.35",
598
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
599
+ "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
600
+ "dependencies": {
601
+ "mime-db": "1.52.0"
602
+ },
603
+ "engines": {
604
+ "node": ">= 0.6"
605
+ }
606
+ },
607
+ "node_modules/ms": {
608
+ "version": "2.0.0",
609
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
610
+ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="
611
+ },
612
+ "node_modules/negotiator": {
613
+ "version": "0.6.3",
614
+ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
615
+ "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==",
616
+ "engines": {
617
+ "node": ">= 0.6"
618
+ }
619
+ },
620
+ "node_modules/object-inspect": {
621
+ "version": "1.12.3",
622
+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz",
623
+ "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==",
624
+ "funding": {
625
+ "url": "https://github.com/sponsors/ljharb"
626
+ }
627
+ },
628
+ "node_modules/on-finished": {
629
+ "version": "2.4.1",
630
+ "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz",
631
+ "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==",
632
+ "dependencies": {
633
+ "ee-first": "1.1.1"
634
+ },
635
+ "engines": {
636
+ "node": ">= 0.8"
637
+ }
638
+ },
639
+ "node_modules/parseurl": {
640
+ "version": "1.3.3",
641
+ "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
642
+ "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",
643
+ "engines": {
644
+ "node": ">= 0.8"
645
+ }
646
+ },
647
+ "node_modules/path-to-regexp": {
648
+ "version": "0.1.7",
649
+ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz",
650
+ "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ=="
651
+ },
652
+ "node_modules/proxy-addr": {
653
+ "version": "2.0.7",
654
+ "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",
655
+ "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==",
656
+ "dependencies": {
657
+ "forwarded": "0.2.0",
658
+ "ipaddr.js": "1.9.1"
659
+ },
660
+ "engines": {
661
+ "node": ">= 0.10"
662
+ }
663
+ },
664
+ "node_modules/pythonia": {
665
+ "version": "1.0.2",
666
+ "resolved": "https://registry.npmjs.org/pythonia/-/pythonia-1.0.2.tgz",
667
+ "integrity": "sha512-7RHa/fku2CmtItqGlDJ4KSgS7vuGtdQYs/YtQR3S+Vxd0u5C5sL2kHDiL02CuK9MIGBD37lnBx1qNczwB66LTQ==",
668
+ "dependencies": {
669
+ "caller": "^1.0.1",
670
+ "chalk": "^4.1.2"
671
+ },
672
+ "peerDependencies": {
673
+ "ws": "^7.5.1"
674
+ }
675
+ },
676
+ "node_modules/qs": {
677
+ "version": "6.11.0",
678
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz",
679
+ "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==",
680
+ "dependencies": {
681
+ "side-channel": "^1.0.4"
682
+ },
683
+ "engines": {
684
+ "node": ">=0.6"
685
+ },
686
+ "funding": {
687
+ "url": "https://github.com/sponsors/ljharb"
688
+ }
689
+ },
690
+ "node_modules/range-parser": {
691
+ "version": "1.2.1",
692
+ "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
693
+ "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",
694
+ "engines": {
695
+ "node": ">= 0.6"
696
+ }
697
+ },
698
+ "node_modules/raw-body": {
699
+ "version": "2.5.1",
700
+ "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz",
701
+ "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==",
702
+ "dependencies": {
703
+ "bytes": "3.1.2",
704
+ "http-errors": "2.0.0",
705
+ "iconv-lite": "0.4.24",
706
+ "unpipe": "1.0.0"
707
+ },
708
+ "engines": {
709
+ "node": ">= 0.8"
710
+ }
711
+ },
712
+ "node_modules/safe-buffer": {
713
+ "version": "5.2.1",
714
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
715
+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
716
+ "funding": [
717
+ {
718
+ "type": "github",
719
+ "url": "https://github.com/sponsors/feross"
720
+ },
721
+ {
722
+ "type": "patreon",
723
+ "url": "https://www.patreon.com/feross"
724
+ },
725
+ {
726
+ "type": "consulting",
727
+ "url": "https://feross.org/support"
728
+ }
729
+ ]
730
+ },
731
+ "node_modules/safer-buffer": {
732
+ "version": "2.1.2",
733
+ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
734
+ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
735
+ },
736
+ "node_modules/send": {
737
+ "version": "0.18.0",
738
+ "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz",
739
+ "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==",
740
+ "dependencies": {
741
+ "debug": "2.6.9",
742
+ "depd": "2.0.0",
743
+ "destroy": "1.2.0",
744
+ "encodeurl": "~1.0.2",
745
+ "escape-html": "~1.0.3",
746
+ "etag": "~1.8.1",
747
+ "fresh": "0.5.2",
748
+ "http-errors": "2.0.0",
749
+ "mime": "1.6.0",
750
+ "ms": "2.1.3",
751
+ "on-finished": "2.4.1",
752
+ "range-parser": "~1.2.1",
753
+ "statuses": "2.0.1"
754
+ },
755
+ "engines": {
756
+ "node": ">= 0.8.0"
757
+ }
758
+ },
759
+ "node_modules/send/node_modules/ms": {
760
+ "version": "2.1.3",
761
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
762
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
763
+ },
764
+ "node_modules/serve-static": {
765
+ "version": "1.15.0",
766
+ "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz",
767
+ "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==",
768
+ "dependencies": {
769
+ "encodeurl": "~1.0.2",
770
+ "escape-html": "~1.0.3",
771
+ "parseurl": "~1.3.3",
772
+ "send": "0.18.0"
773
+ },
774
+ "engines": {
775
+ "node": ">= 0.8.0"
776
+ }
777
+ },
778
+ "node_modules/setprototypeof": {
779
+ "version": "1.2.0",
780
+ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
781
+ "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw=="
782
+ },
783
+ "node_modules/side-channel": {
784
+ "version": "1.0.4",
785
+ "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz",
786
+ "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==",
787
+ "dependencies": {
788
+ "call-bind": "^1.0.0",
789
+ "get-intrinsic": "^1.0.2",
790
+ "object-inspect": "^1.9.0"
791
+ },
792
+ "funding": {
793
+ "url": "https://github.com/sponsors/ljharb"
794
+ }
795
+ },
796
+ "node_modules/statuses": {
797
+ "version": "2.0.1",
798
+ "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz",
799
+ "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==",
800
+ "engines": {
801
+ "node": ">= 0.8"
802
+ }
803
+ },
804
+ "node_modules/supports-color": {
805
+ "version": "7.2.0",
806
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
807
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
808
+ "dependencies": {
809
+ "has-flag": "^4.0.0"
810
+ },
811
+ "engines": {
812
+ "node": ">=8"
813
+ }
814
+ },
815
+ "node_modules/toidentifier": {
816
+ "version": "1.0.1",
817
+ "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz",
818
+ "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==",
819
+ "engines": {
820
+ "node": ">=0.6"
821
+ }
822
+ },
823
+ "node_modules/ts-node": {
824
+ "version": "10.9.1",
825
+ "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.1.tgz",
826
+ "integrity": "sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==",
827
+ "dependencies": {
828
+ "@cspotcode/source-map-support": "^0.8.0",
829
+ "@tsconfig/node10": "^1.0.7",
830
+ "@tsconfig/node12": "^1.0.7",
831
+ "@tsconfig/node14": "^1.0.0",
832
+ "@tsconfig/node16": "^1.0.2",
833
+ "acorn": "^8.4.1",
834
+ "acorn-walk": "^8.1.1",
835
+ "arg": "^4.1.0",
836
+ "create-require": "^1.1.0",
837
+ "diff": "^4.0.1",
838
+ "make-error": "^1.1.1",
839
+ "v8-compile-cache-lib": "^3.0.1",
840
+ "yn": "3.1.1"
841
+ },
842
+ "bin": {
843
+ "ts-node": "dist/bin.js",
844
+ "ts-node-cwd": "dist/bin-cwd.js",
845
+ "ts-node-esm": "dist/bin-esm.js",
846
+ "ts-node-script": "dist/bin-script.js",
847
+ "ts-node-transpile-only": "dist/bin-transpile.js",
848
+ "ts-script": "dist/bin-script-deprecated.js"
849
+ },
850
+ "peerDependencies": {
851
+ "@swc/core": ">=1.2.50",
852
+ "@swc/wasm": ">=1.2.50",
853
+ "@types/node": "*",
854
+ "typescript": ">=2.7"
855
+ },
856
+ "peerDependenciesMeta": {
857
+ "@swc/core": {
858
+ "optional": true
859
+ },
860
+ "@swc/wasm": {
861
+ "optional": true
862
+ }
863
+ }
864
+ },
865
+ "node_modules/type-is": {
866
+ "version": "1.6.18",
867
+ "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
868
+ "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
869
+ "dependencies": {
870
+ "media-typer": "0.3.0",
871
+ "mime-types": "~2.1.24"
872
+ },
873
+ "engines": {
874
+ "node": ">= 0.6"
875
+ }
876
+ },
877
+ "node_modules/typescript": {
878
+ "version": "5.1.3",
879
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.3.tgz",
880
+ "integrity": "sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw==",
881
+ "peer": true,
882
+ "bin": {
883
+ "tsc": "bin/tsc",
884
+ "tsserver": "bin/tsserver"
885
+ },
886
+ "engines": {
887
+ "node": ">=14.17"
888
+ }
889
+ },
890
+ "node_modules/unpipe": {
891
+ "version": "1.0.0",
892
+ "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
893
+ "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==",
894
+ "engines": {
895
+ "node": ">= 0.8"
896
+ }
897
+ },
898
+ "node_modules/utils-merge": {
899
+ "version": "1.0.1",
900
+ "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
901
+ "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==",
902
+ "engines": {
903
+ "node": ">= 0.4.0"
904
+ }
905
+ },
906
+ "node_modules/v8-compile-cache-lib": {
907
+ "version": "3.0.1",
908
+ "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz",
909
+ "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg=="
910
+ },
911
+ "node_modules/vary": {
912
+ "version": "1.1.2",
913
+ "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
914
+ "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==",
915
+ "engines": {
916
+ "node": ">= 0.8"
917
+ }
918
+ },
919
+ "node_modules/ws": {
920
+ "version": "7.5.9",
921
+ "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz",
922
+ "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==",
923
+ "peer": true,
924
+ "engines": {
925
+ "node": ">=8.3.0"
926
+ },
927
+ "peerDependencies": {
928
+ "bufferutil": "^4.0.1",
929
+ "utf-8-validate": "^5.0.2"
930
+ },
931
+ "peerDependenciesMeta": {
932
+ "bufferutil": {
933
+ "optional": true
934
+ },
935
+ "utf-8-validate": {
936
+ "optional": true
937
+ }
938
+ }
939
+ },
940
+ "node_modules/yn": {
941
+ "version": "3.1.1",
942
+ "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz",
943
+ "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==",
944
+ "engines": {
945
+ "node": ">=6"
946
+ }
947
+ }
948
+ }
949
+ }
package.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "template-node-python-express",
3
+ "version": "1.0.0",
4
+ "description": "A minimalist Docker Space to help people getting started with Node, Express and TypeScript",
5
+ "main": "src/index.mts",
6
+ "scripts": {
7
+ "start": "node --loader ts-node/esm src/index.mts",
8
+ "docker": "npm run docker:build && npm run docker:run",
9
+ "docker:build": "docker build -t template-node-python-express .",
10
+ "docker:run": "docker run -it -p 7860:7860 template-node-python-express"
11
+ },
12
+ "author": "Julian Bilcke <julian.bilcke@huggingface.co>",
13
+ "license": "Apache License",
14
+ "dependencies": {
15
+ "@types/express": "^4.17.17",
16
+ "express": "^4.18.2",
17
+ "pythonia": "^1.0.2",
18
+ "ts-node": "^10.9.1"
19
+ }
20
+ }
requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+
src/index.mts ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import express from 'express'
2
+ import { python } from 'pythonia'
3
+
4
+ const { date } = await python('datetime')
5
+
6
+ const app = express()
7
+ const port = 7860
8
+
9
+ app.get('/', async (req, res) => {
10
+ const today = await date.today()
11
+ res.write(`<html>
12
+ <head><title>Hello.</title></head>
13
+ <body>
14
+ <div>Python says: today's date is ${
15
+ await today.strftime("%d/%m/%Y")
16
+ }</div>
17
+ </body>
18
+ </html>`)
19
+ res.end()
20
+ })
21
+
22
+ app.listen(port, () => { console.log(`Open http://localhost:${port}`) })
tsconfig.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "compilerOptions": {
3
+ "allowJs": true,
4
+ "esModuleInterop": true,
5
+ "allowSyntheticDefaultImports": true,
6
+ "module": "nodenext",
7
+ "noEmit": true,
8
+ "allowImportingTsExtensions": true,
9
+ "target": "es2017"
10
+ },
11
+ "include": ["**/*.ts", "**/*.mts"],
12
+ }