├── .gitignore ├── LICENSE ├── README.md ├── _config.yml ├── package-lock.json ├── package.json ├── scripts └── createDynamicIndexHtml.js ├── src ├── api │ └── index.ts ├── helper │ ├── basicFetch.ts │ ├── getData.ts │ ├── getRandomToken.ts │ ├── repositoryFetch.ts │ └── template.ts ├── index.html └── withexpress.ts └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | lerna-debug.log* 8 | 9 | # Diagnostic reports (https://nodejs.org/api/report.html) 10 | report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json 11 | 12 | # Runtime data 13 | pids 14 | *.pid 15 | *.seed 16 | *.pid.lock 17 | 18 | # Directory for instrumented libs generated by jscoverage/JSCover 19 | lib-cov 20 | 21 | # Coverage directory used by tools like istanbul 22 | coverage 23 | *.lcov 24 | 25 | # nyc test coverage 26 | .nyc_output 27 | 28 | # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) 29 | .grunt 30 | 31 | # Bower dependency directory (https://bower.io/) 32 | bower_components 33 | 34 | # node-waf configuration 35 | .lock-wscript 36 | 37 | # Compiled binary addons (https://nodejs.org/api/addons.html) 38 | build/Release 39 | 40 | # Dependency directories 41 | node_modules/ 42 | jspm_packages/ 43 | 44 | # TypeScript v1 declaration files 45 | typings/ 46 | 47 | # TypeScript cache 48 | *.tsbuildinfo 49 | 50 | # Optional npm cache directory 51 | .npm 52 | 53 | # Optional eslint cache 54 | .eslintcache 55 | 56 | # Microbundle cache 57 | .rpt2_cache/ 58 | .rts2_cache_cjs/ 59 | .rts2_cache_es/ 60 | .rts2_cache_umd/ 61 | 62 | # Optional REPL history 63 | .node_repl_history 64 | 65 | # Output of 'npm pack' 66 | *.tgz 67 | 68 | # Yarn Integrity file 69 | .yarn-integrity 70 | 71 | # dotenv environment variables file 72 | .env 73 | .env.test 74 | 75 | # parcel-bundler cache (https://parceljs.org/) 76 | .cache 77 | 78 | # Next.js build output 79 | .next 80 | 81 | # Nuxt.js build / generate output 82 | .nuxt 83 | dist 84 | 85 | # Gatsby files 86 | .cache/ 87 | # Comment in the public line in if your project uses Gatsby and *not* Next.js 88 | # https://nextjs.org/blog/next-9-1#public-directory-support 89 | # public 90 | 91 | # vuepress build output 92 | .vuepress/dist 93 | 94 | # Serverless directories 95 | .serverless/ 96 | 97 | # FuseBox cache 98 | .fusebox/ 99 | 100 | # DynamoDB Local files 101 | .dynamodb/ 102 | 103 | # TernJS port file 104 | .tern-port 105 | 106 | public 107 | public/* 108 | .vercel -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 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. 202 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Readme Stats for Github 📈 2 | 3 | 👀 Update: Whole project is rewritten with Typescript in 30 minutes on GitHub Codespaces. 💪 4 | 5 | ## Features 🪶 6 | 7 | - Totally accurate result 8 | - Refresh result in 1800 seconds 9 | - Support customization 10 | 11 | ## API 🚀 12 | 13 | 1. Cool and Simple 😃 14 | 15 | ``` 16 | https://github-stats-alpha.vercel.app/api?username={your-github-username} 17 | ``` 18 | 19 | [![Example](https://github-stats-alpha.vercel.app/api?username=tuhinpal "Example")](https://github-stats-alpha.vercel.app/api?username=tuhinpal "Example") 20 | 21 | 2. With Customization 😎 22 | 23 | ``` 24 | https://github-stats-alpha.vercel.app/api?username={your-github-username}&cc=000&tc=fff&ic=fff&bc=000 25 | 26 | Where cc = Card Color 27 | tc = Text Color 28 | ic = Icon Color 29 | bc = Border Color 30 | ``` 31 | 32 | [![Example](https://github-stats-alpha.vercel.app/api?username=tuhinpal&cc=000&tc=fff&ic=fff&bc=000 "Example")](https://github-stats-alpha.vercel.app/api?username=tuhinpal&cc=000&tc=fff&ic=fff&bc=000 "Example") 33 | 34 | ## Deploy your own 🦉 35 | 36 | - Fork this Repo 37 | - Go to [▲ Vercel](https://vercel.com) 38 | - Connect with your Forked Repo 39 | - Add your github token in Env Variables. Any variable starts with `GH_TOKEN` will be used randomly. 40 | - Change root directory to `src` 41 | - Deploy to fly high! 42 | 43 | ## Credits 🙏 44 | 45 | - Idea from [github-readme-stats](https://github.com/anuraghazra/github-readme-stats "github-readme-stats") by [Anurag Hazra](https://github.com/anuraghazra "Anurag Hazra") 46 | 47 | ## Contribution 💬 48 | 49 | Contributors are welcome. Please open an issue or pull request if you have any suggestions. 50 | 51 | ## License & Copyright 📝 52 | 53 | - This Project is [Apache-2.0](https://github.com/tuhinpal/readme-stats-github/blob/main/LICENSE) Licensed 54 | - Copyright 2021 by [Tuhin Kanti Pal](https://github.com/tuhinpal) 55 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-minimal -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "readme-stats-github", 3 | "version": "1.1.0", 4 | "lockfileVersion": 1, 5 | "requires": true, 6 | "dependencies": { 7 | "@cspotcode/source-map-support": { 8 | "version": "0.8.1", 9 | "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", 10 | "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", 11 | "dev": true, 12 | "requires": { 13 | "@jridgewell/trace-mapping": "0.3.9" 14 | } 15 | }, 16 | "@jridgewell/resolve-uri": { 17 | "version": "3.1.0", 18 | "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz", 19 | "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==", 20 | "dev": true 21 | }, 22 | "@jridgewell/sourcemap-codec": { 23 | "version": "1.4.14", 24 | "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", 25 | "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==", 26 | "dev": true 27 | }, 28 | "@jridgewell/trace-mapping": { 29 | "version": "0.3.9", 30 | "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", 31 | "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", 32 | "dev": true, 33 | "requires": { 34 | "@jridgewell/resolve-uri": "^3.0.3", 35 | "@jridgewell/sourcemap-codec": "^1.4.10" 36 | } 37 | }, 38 | "@markdoc/markdoc": { 39 | "version": "0.1.3", 40 | "resolved": "https://registry.npmjs.org/@markdoc/markdoc/-/markdoc-0.1.3.tgz", 41 | "integrity": "sha512-4n2cobUSeOob+237wZhpNiOEHCSfOydlQnKHTFdRY6ug/DupXGaxkkkszJYQxRftiMs8jmb10XvVO1svEYD43Q==", 42 | "dev": true 43 | }, 44 | "@tsconfig/node10": { 45 | "version": "1.0.9", 46 | "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz", 47 | "integrity": "sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==", 48 | "dev": true 49 | }, 50 | "@tsconfig/node12": { 51 | "version": "1.0.11", 52 | "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", 53 | "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", 54 | "dev": true 55 | }, 56 | "@tsconfig/node14": { 57 | "version": "1.0.3", 58 | "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", 59 | "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", 60 | "dev": true 61 | }, 62 | "@tsconfig/node16": { 63 | "version": "1.0.3", 64 | "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.3.tgz", 65 | "integrity": "sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ==", 66 | "dev": true 67 | }, 68 | "@types/body-parser": { 69 | "version": "1.19.2", 70 | "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz", 71 | "integrity": "sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==", 72 | "dev": true, 73 | "requires": { 74 | "@types/connect": "*", 75 | "@types/node": "*" 76 | } 77 | }, 78 | "@types/connect": { 79 | "version": "3.4.35", 80 | "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz", 81 | "integrity": "sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==", 82 | "dev": true, 83 | "requires": { 84 | "@types/node": "*" 85 | } 86 | }, 87 | "@types/express": { 88 | "version": "4.17.13", 89 | "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.13.tgz", 90 | "integrity": "sha512-6bSZTPaTIACxn48l50SR+axgrqm6qXFIxrdAKaG6PaJk3+zuUr35hBlgT7vOmJcum+OEaIBLtHV/qloEAFITeA==", 91 | "dev": true, 92 | "requires": { 93 | "@types/body-parser": "*", 94 | "@types/express-serve-static-core": "^4.17.18", 95 | "@types/qs": "*", 96 | "@types/serve-static": "*" 97 | } 98 | }, 99 | "@types/express-serve-static-core": { 100 | "version": "4.17.29", 101 | "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.29.tgz", 102 | "integrity": "sha512-uMd++6dMKS32EOuw1Uli3e3BPgdLIXmezcfHv7N4c1s3gkhikBplORPpMq3fuWkxncZN1reb16d5n8yhQ80x7Q==", 103 | "dev": true, 104 | "requires": { 105 | "@types/node": "*", 106 | "@types/qs": "*", 107 | "@types/range-parser": "*" 108 | } 109 | }, 110 | "@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 | "dev": true 115 | }, 116 | "@types/node": { 117 | "version": "18.0.3", 118 | "resolved": "https://registry.npmjs.org/@types/node/-/node-18.0.3.tgz", 119 | "integrity": "sha512-HzNRZtp4eepNitP+BD6k2L6DROIDG4Q0fm4x+dwfsr6LGmROENnok75VGw40628xf+iR24WeMFcHuuBDUAzzsQ==", 120 | "dev": true 121 | }, 122 | "@types/qs": { 123 | "version": "6.9.7", 124 | "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz", 125 | "integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==", 126 | "dev": true 127 | }, 128 | "@types/range-parser": { 129 | "version": "1.2.4", 130 | "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.4.tgz", 131 | "integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==", 132 | "dev": true 133 | }, 134 | "@types/serve-static": { 135 | "version": "1.13.10", 136 | "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.13.10.tgz", 137 | "integrity": "sha512-nCkHGI4w7ZgAdNkrEu0bv+4xNV/XDqW+DydknebMOQwkpDGx8G+HTlj7R7ABI8i8nKxVw0wtKPi1D+lPOkh4YQ==", 138 | "dev": true, 139 | "requires": { 140 | "@types/mime": "^1", 141 | "@types/node": "*" 142 | } 143 | }, 144 | "abbrev": { 145 | "version": "1.1.1", 146 | "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", 147 | "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", 148 | "dev": true 149 | }, 150 | "accepts": { 151 | "version": "1.3.8", 152 | "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", 153 | "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", 154 | "requires": { 155 | "mime-types": "~2.1.34", 156 | "negotiator": "0.6.3" 157 | } 158 | }, 159 | "acorn": { 160 | "version": "8.7.1", 161 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", 162 | "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==", 163 | "dev": true 164 | }, 165 | "acorn-walk": { 166 | "version": "8.2.0", 167 | "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz", 168 | "integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==", 169 | "dev": true 170 | }, 171 | "ansi-regex": { 172 | "version": "5.0.1", 173 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 174 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" 175 | }, 176 | "ansi-styles": { 177 | "version": "4.3.0", 178 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 179 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 180 | "requires": { 181 | "color-convert": "^2.0.1" 182 | } 183 | }, 184 | "anymatch": { 185 | "version": "3.1.2", 186 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", 187 | "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", 188 | "dev": true, 189 | "requires": { 190 | "normalize-path": "^3.0.0", 191 | "picomatch": "^2.0.4" 192 | } 193 | }, 194 | "arg": { 195 | "version": "4.1.3", 196 | "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", 197 | "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", 198 | "dev": true 199 | }, 200 | "array-flatten": { 201 | "version": "1.1.1", 202 | "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", 203 | "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==" 204 | }, 205 | "axios": { 206 | "version": "0.21.4", 207 | "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", 208 | "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", 209 | "requires": { 210 | "follow-redirects": "^1.14.0" 211 | } 212 | }, 213 | "balanced-match": { 214 | "version": "1.0.2", 215 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 216 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", 217 | "dev": true 218 | }, 219 | "binary-extensions": { 220 | "version": "2.2.0", 221 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", 222 | "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", 223 | "dev": true 224 | }, 225 | "body-parser": { 226 | "version": "1.20.0", 227 | "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.0.tgz", 228 | "integrity": "sha512-DfJ+q6EPcGKZD1QWUjSpqp+Q7bDQTsQIF4zfUAtZ6qk+H/3/QRhg9CEp39ss+/T2vw0+HaidC0ecJj/DRLIaKg==", 229 | "requires": { 230 | "bytes": "3.1.2", 231 | "content-type": "~1.0.4", 232 | "debug": "2.6.9", 233 | "depd": "2.0.0", 234 | "destroy": "1.2.0", 235 | "http-errors": "2.0.0", 236 | "iconv-lite": "0.4.24", 237 | "on-finished": "2.4.1", 238 | "qs": "6.10.3", 239 | "raw-body": "2.5.1", 240 | "type-is": "~1.6.18", 241 | "unpipe": "1.0.0" 242 | } 243 | }, 244 | "brace-expansion": { 245 | "version": "1.1.11", 246 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 247 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 248 | "dev": true, 249 | "requires": { 250 | "balanced-match": "^1.0.0", 251 | "concat-map": "0.0.1" 252 | } 253 | }, 254 | "braces": { 255 | "version": "3.0.2", 256 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", 257 | "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", 258 | "dev": true, 259 | "requires": { 260 | "fill-range": "^7.0.1" 261 | } 262 | }, 263 | "bytes": { 264 | "version": "3.1.2", 265 | "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", 266 | "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==" 267 | }, 268 | "call-bind": { 269 | "version": "1.0.2", 270 | "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", 271 | "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", 272 | "requires": { 273 | "function-bind": "^1.1.1", 274 | "get-intrinsic": "^1.0.2" 275 | } 276 | }, 277 | "chokidar": { 278 | "version": "3.5.3", 279 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", 280 | "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", 281 | "dev": true, 282 | "requires": { 283 | "anymatch": "~3.1.2", 284 | "braces": "~3.0.2", 285 | "fsevents": "~2.3.2", 286 | "glob-parent": "~5.1.2", 287 | "is-binary-path": "~2.1.0", 288 | "is-glob": "~4.0.1", 289 | "normalize-path": "~3.0.0", 290 | "readdirp": "~3.6.0" 291 | } 292 | }, 293 | "cliui": { 294 | "version": "7.0.4", 295 | "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", 296 | "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", 297 | "requires": { 298 | "string-width": "^4.2.0", 299 | "strip-ansi": "^6.0.0", 300 | "wrap-ansi": "^7.0.0" 301 | } 302 | }, 303 | "color-convert": { 304 | "version": "2.0.1", 305 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 306 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 307 | "requires": { 308 | "color-name": "~1.1.4" 309 | } 310 | }, 311 | "color-name": { 312 | "version": "1.1.4", 313 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 314 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" 315 | }, 316 | "concat-map": { 317 | "version": "0.0.1", 318 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 319 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", 320 | "dev": true 321 | }, 322 | "content-disposition": { 323 | "version": "0.5.4", 324 | "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", 325 | "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", 326 | "requires": { 327 | "safe-buffer": "5.2.1" 328 | } 329 | }, 330 | "content-type": { 331 | "version": "1.0.4", 332 | "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", 333 | "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" 334 | }, 335 | "cookie": { 336 | "version": "0.5.0", 337 | "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", 338 | "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==" 339 | }, 340 | "cookie-signature": { 341 | "version": "1.0.6", 342 | "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", 343 | "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" 344 | }, 345 | "create-require": { 346 | "version": "1.1.1", 347 | "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", 348 | "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", 349 | "dev": true 350 | }, 351 | "debug": { 352 | "version": "2.6.9", 353 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 354 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 355 | "requires": { 356 | "ms": "2.0.0" 357 | } 358 | }, 359 | "depd": { 360 | "version": "2.0.0", 361 | "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", 362 | "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==" 363 | }, 364 | "destroy": { 365 | "version": "1.2.0", 366 | "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", 367 | "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==" 368 | }, 369 | "diff": { 370 | "version": "4.0.2", 371 | "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", 372 | "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", 373 | "dev": true 374 | }, 375 | "dotenv": { 376 | "version": "16.0.1", 377 | "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.0.1.tgz", 378 | "integrity": "sha512-1K6hR6wtk2FviQ4kEiSjFiH5rpzEVi8WW0x96aztHVMhEspNpc4DVOUTEHtEva5VThQ8IaBX1Pe4gSzpVVUsKQ==" 379 | }, 380 | "ee-first": { 381 | "version": "1.1.1", 382 | "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", 383 | "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" 384 | }, 385 | "emoji-regex": { 386 | "version": "8.0.0", 387 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 388 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" 389 | }, 390 | "encodeurl": { 391 | "version": "1.0.2", 392 | "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", 393 | "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==" 394 | }, 395 | "escalade": { 396 | "version": "3.1.1", 397 | "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", 398 | "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" 399 | }, 400 | "escape-html": { 401 | "version": "1.0.3", 402 | "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", 403 | "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" 404 | }, 405 | "etag": { 406 | "version": "1.8.1", 407 | "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", 408 | "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==" 409 | }, 410 | "express": { 411 | "version": "4.18.1", 412 | "resolved": "https://registry.npmjs.org/express/-/express-4.18.1.tgz", 413 | "integrity": "sha512-zZBcOX9TfehHQhtupq57OF8lFZ3UZi08Y97dwFCkD8p9d/d2Y3M+ykKcwaMDEL+4qyUolgBDX6AblpR3fL212Q==", 414 | "requires": { 415 | "accepts": "~1.3.8", 416 | "array-flatten": "1.1.1", 417 | "body-parser": "1.20.0", 418 | "content-disposition": "0.5.4", 419 | "content-type": "~1.0.4", 420 | "cookie": "0.5.0", 421 | "cookie-signature": "1.0.6", 422 | "debug": "2.6.9", 423 | "depd": "2.0.0", 424 | "encodeurl": "~1.0.2", 425 | "escape-html": "~1.0.3", 426 | "etag": "~1.8.1", 427 | "finalhandler": "1.2.0", 428 | "fresh": "0.5.2", 429 | "http-errors": "2.0.0", 430 | "merge-descriptors": "1.0.1", 431 | "methods": "~1.1.2", 432 | "on-finished": "2.4.1", 433 | "parseurl": "~1.3.3", 434 | "path-to-regexp": "0.1.7", 435 | "proxy-addr": "~2.0.7", 436 | "qs": "6.10.3", 437 | "range-parser": "~1.2.1", 438 | "safe-buffer": "5.2.1", 439 | "send": "0.18.0", 440 | "serve-static": "1.15.0", 441 | "setprototypeof": "1.2.0", 442 | "statuses": "2.0.1", 443 | "type-is": "~1.6.18", 444 | "utils-merge": "1.0.1", 445 | "vary": "~1.1.2" 446 | } 447 | }, 448 | "fill-range": { 449 | "version": "7.0.1", 450 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", 451 | "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", 452 | "dev": true, 453 | "requires": { 454 | "to-regex-range": "^5.0.1" 455 | } 456 | }, 457 | "finalhandler": { 458 | "version": "1.2.0", 459 | "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", 460 | "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", 461 | "requires": { 462 | "debug": "2.6.9", 463 | "encodeurl": "~1.0.2", 464 | "escape-html": "~1.0.3", 465 | "on-finished": "2.4.1", 466 | "parseurl": "~1.3.3", 467 | "statuses": "2.0.1", 468 | "unpipe": "~1.0.0" 469 | } 470 | }, 471 | "follow-redirects": { 472 | "version": "1.15.1", 473 | "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.1.tgz", 474 | "integrity": "sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA==" 475 | }, 476 | "forwarded": { 477 | "version": "0.2.0", 478 | "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", 479 | "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==" 480 | }, 481 | "fresh": { 482 | "version": "0.5.2", 483 | "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", 484 | "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==" 485 | }, 486 | "fsevents": { 487 | "version": "2.3.2", 488 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", 489 | "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", 490 | "dev": true, 491 | "optional": true 492 | }, 493 | "function-bind": { 494 | "version": "1.1.1", 495 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", 496 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" 497 | }, 498 | "get-caller-file": { 499 | "version": "2.0.5", 500 | "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", 501 | "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" 502 | }, 503 | "get-intrinsic": { 504 | "version": "1.1.2", 505 | "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.2.tgz", 506 | "integrity": "sha512-Jfm3OyCxHh9DJyc28qGk+JmfkpO41A4XkneDSujN9MDXrm4oDKdHvndhZ2dN94+ERNfkYJWDclW6k2L/ZGHjXA==", 507 | "requires": { 508 | "function-bind": "^1.1.1", 509 | "has": "^1.0.3", 510 | "has-symbols": "^1.0.3" 511 | } 512 | }, 513 | "glob-parent": { 514 | "version": "5.1.2", 515 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 516 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 517 | "dev": true, 518 | "requires": { 519 | "is-glob": "^4.0.1" 520 | } 521 | }, 522 | "has": { 523 | "version": "1.0.3", 524 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", 525 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", 526 | "requires": { 527 | "function-bind": "^1.1.1" 528 | } 529 | }, 530 | "has-flag": { 531 | "version": "3.0.0", 532 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 533 | "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", 534 | "dev": true 535 | }, 536 | "has-symbols": { 537 | "version": "1.0.3", 538 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", 539 | "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==" 540 | }, 541 | "http-errors": { 542 | "version": "2.0.0", 543 | "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", 544 | "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", 545 | "requires": { 546 | "depd": "2.0.0", 547 | "inherits": "2.0.4", 548 | "setprototypeof": "1.2.0", 549 | "statuses": "2.0.1", 550 | "toidentifier": "1.0.1" 551 | } 552 | }, 553 | "iconv-lite": { 554 | "version": "0.4.24", 555 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", 556 | "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", 557 | "requires": { 558 | "safer-buffer": ">= 2.1.2 < 3" 559 | } 560 | }, 561 | "ignore-by-default": { 562 | "version": "1.0.1", 563 | "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", 564 | "integrity": "sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==", 565 | "dev": true 566 | }, 567 | "inherits": { 568 | "version": "2.0.4", 569 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 570 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" 571 | }, 572 | "ipaddr.js": { 573 | "version": "1.9.1", 574 | "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", 575 | "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==" 576 | }, 577 | "is-binary-path": { 578 | "version": "2.1.0", 579 | "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", 580 | "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", 581 | "dev": true, 582 | "requires": { 583 | "binary-extensions": "^2.0.0" 584 | } 585 | }, 586 | "is-extglob": { 587 | "version": "2.1.1", 588 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 589 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", 590 | "dev": true 591 | }, 592 | "is-fullwidth-code-point": { 593 | "version": "3.0.0", 594 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 595 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" 596 | }, 597 | "is-glob": { 598 | "version": "4.0.3", 599 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 600 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 601 | "dev": true, 602 | "requires": { 603 | "is-extglob": "^2.1.1" 604 | } 605 | }, 606 | "is-number": { 607 | "version": "7.0.0", 608 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 609 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 610 | "dev": true 611 | }, 612 | "make-error": { 613 | "version": "1.3.6", 614 | "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", 615 | "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", 616 | "dev": true 617 | }, 618 | "media-typer": { 619 | "version": "0.3.0", 620 | "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", 621 | "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==" 622 | }, 623 | "merge-descriptors": { 624 | "version": "1.0.1", 625 | "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", 626 | "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==" 627 | }, 628 | "methods": { 629 | "version": "1.1.2", 630 | "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", 631 | "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==" 632 | }, 633 | "millify": { 634 | "version": "4.0.0", 635 | "resolved": "https://registry.npmjs.org/millify/-/millify-4.0.0.tgz", 636 | "integrity": "sha512-Rf+nt4jca468yAqTIFfMSWMGiSqcdwotj3h25XvXjSIuRf4YWykuGDMj/SAOHrvjwrSNoQd0GC9vJCOG8a+BHg==", 637 | "requires": { 638 | "yargs": "^17.0.1" 639 | } 640 | }, 641 | "mime": { 642 | "version": "1.6.0", 643 | "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", 644 | "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" 645 | }, 646 | "mime-db": { 647 | "version": "1.52.0", 648 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", 649 | "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==" 650 | }, 651 | "mime-types": { 652 | "version": "2.1.35", 653 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", 654 | "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", 655 | "requires": { 656 | "mime-db": "1.52.0" 657 | } 658 | }, 659 | "minimatch": { 660 | "version": "3.1.2", 661 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 662 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 663 | "dev": true, 664 | "requires": { 665 | "brace-expansion": "^1.1.7" 666 | } 667 | }, 668 | "ms": { 669 | "version": "2.0.0", 670 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 671 | "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" 672 | }, 673 | "negotiator": { 674 | "version": "0.6.3", 675 | "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", 676 | "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==" 677 | }, 678 | "node-base64-image": { 679 | "version": "2.0.4", 680 | "resolved": "https://registry.npmjs.org/node-base64-image/-/node-base64-image-2.0.4.tgz", 681 | "integrity": "sha512-brh2nblaVT1/cIRH5gqDx6VpdmjCh2P1f/XpE6j+IJpXWfC7NkkclEaMcZSQ/KvZrXLML0z9a5qN0mRQ4LGMJA==", 682 | "requires": { 683 | "axios": "0.25.0" 684 | }, 685 | "dependencies": { 686 | "axios": { 687 | "version": "0.25.0", 688 | "resolved": "https://registry.npmjs.org/axios/-/axios-0.25.0.tgz", 689 | "integrity": "sha512-cD8FOb0tRH3uuEe6+evtAbgJtfxr7ly3fQjYcMcuPlgkwVS9xboaVIpcDV+cYQe+yGykgwZCs1pzjntcGa6l5g==", 690 | "requires": { 691 | "follow-redirects": "^1.14.7" 692 | } 693 | } 694 | } 695 | }, 696 | "nodemon": { 697 | "version": "2.0.19", 698 | "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-2.0.19.tgz", 699 | "integrity": "sha512-4pv1f2bMDj0Eeg/MhGqxrtveeQ5/G/UVe9iO6uTZzjnRluSA4PVWf8CW99LUPwGB3eNIA7zUFoP77YuI7hOc0A==", 700 | "dev": true, 701 | "requires": { 702 | "chokidar": "^3.5.2", 703 | "debug": "^3.2.7", 704 | "ignore-by-default": "^1.0.1", 705 | "minimatch": "^3.0.4", 706 | "pstree.remy": "^1.1.8", 707 | "semver": "^5.7.1", 708 | "simple-update-notifier": "^1.0.7", 709 | "supports-color": "^5.5.0", 710 | "touch": "^3.1.0", 711 | "undefsafe": "^2.0.5" 712 | }, 713 | "dependencies": { 714 | "debug": { 715 | "version": "3.2.7", 716 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", 717 | "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", 718 | "dev": true, 719 | "requires": { 720 | "ms": "^2.1.1" 721 | } 722 | }, 723 | "ms": { 724 | "version": "2.1.3", 725 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 726 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", 727 | "dev": true 728 | } 729 | } 730 | }, 731 | "nopt": { 732 | "version": "1.0.10", 733 | "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz", 734 | "integrity": "sha512-NWmpvLSqUrgrAC9HCuxEvb+PSloHpqVu+FqcO4eeF2h5qYRhA7ev6KvelyQAKtegUbC6RypJnlEOhd8vloNKYg==", 735 | "dev": true, 736 | "requires": { 737 | "abbrev": "1" 738 | } 739 | }, 740 | "normalize-path": { 741 | "version": "3.0.0", 742 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 743 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", 744 | "dev": true 745 | }, 746 | "object-inspect": { 747 | "version": "1.12.2", 748 | "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz", 749 | "integrity": "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==" 750 | }, 751 | "on-finished": { 752 | "version": "2.4.1", 753 | "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", 754 | "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", 755 | "requires": { 756 | "ee-first": "1.1.1" 757 | } 758 | }, 759 | "parseurl": { 760 | "version": "1.3.3", 761 | "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", 762 | "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" 763 | }, 764 | "path-to-regexp": { 765 | "version": "0.1.7", 766 | "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", 767 | "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==" 768 | }, 769 | "picomatch": { 770 | "version": "2.3.1", 771 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", 772 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", 773 | "dev": true 774 | }, 775 | "proxy-addr": { 776 | "version": "2.0.7", 777 | "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", 778 | "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", 779 | "requires": { 780 | "forwarded": "0.2.0", 781 | "ipaddr.js": "1.9.1" 782 | } 783 | }, 784 | "pstree.remy": { 785 | "version": "1.1.8", 786 | "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz", 787 | "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==", 788 | "dev": true 789 | }, 790 | "qs": { 791 | "version": "6.10.3", 792 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.3.tgz", 793 | "integrity": "sha512-wr7M2E0OFRfIfJZjKGieI8lBKb7fRCH4Fv5KNPEs7gJ8jadvotdsS08PzOKR7opXhZ/Xkjtt3WF9g38drmyRqQ==", 794 | "requires": { 795 | "side-channel": "^1.0.4" 796 | } 797 | }, 798 | "range-parser": { 799 | "version": "1.2.1", 800 | "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", 801 | "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" 802 | }, 803 | "raw-body": { 804 | "version": "2.5.1", 805 | "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", 806 | "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", 807 | "requires": { 808 | "bytes": "3.1.2", 809 | "http-errors": "2.0.0", 810 | "iconv-lite": "0.4.24", 811 | "unpipe": "1.0.0" 812 | } 813 | }, 814 | "readdirp": { 815 | "version": "3.6.0", 816 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", 817 | "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", 818 | "dev": true, 819 | "requires": { 820 | "picomatch": "^2.2.1" 821 | } 822 | }, 823 | "require-directory": { 824 | "version": "2.1.1", 825 | "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", 826 | "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==" 827 | }, 828 | "safe-buffer": { 829 | "version": "5.2.1", 830 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 831 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" 832 | }, 833 | "safer-buffer": { 834 | "version": "2.1.2", 835 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 836 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" 837 | }, 838 | "semver": { 839 | "version": "5.7.1", 840 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", 841 | "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", 842 | "dev": true 843 | }, 844 | "send": { 845 | "version": "0.18.0", 846 | "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", 847 | "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", 848 | "requires": { 849 | "debug": "2.6.9", 850 | "depd": "2.0.0", 851 | "destroy": "1.2.0", 852 | "encodeurl": "~1.0.2", 853 | "escape-html": "~1.0.3", 854 | "etag": "~1.8.1", 855 | "fresh": "0.5.2", 856 | "http-errors": "2.0.0", 857 | "mime": "1.6.0", 858 | "ms": "2.1.3", 859 | "on-finished": "2.4.1", 860 | "range-parser": "~1.2.1", 861 | "statuses": "2.0.1" 862 | }, 863 | "dependencies": { 864 | "ms": { 865 | "version": "2.1.3", 866 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 867 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" 868 | } 869 | } 870 | }, 871 | "serve-static": { 872 | "version": "1.15.0", 873 | "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", 874 | "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", 875 | "requires": { 876 | "encodeurl": "~1.0.2", 877 | "escape-html": "~1.0.3", 878 | "parseurl": "~1.3.3", 879 | "send": "0.18.0" 880 | } 881 | }, 882 | "setprototypeof": { 883 | "version": "1.2.0", 884 | "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", 885 | "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" 886 | }, 887 | "side-channel": { 888 | "version": "1.0.4", 889 | "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", 890 | "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", 891 | "requires": { 892 | "call-bind": "^1.0.0", 893 | "get-intrinsic": "^1.0.2", 894 | "object-inspect": "^1.9.0" 895 | } 896 | }, 897 | "simple-update-notifier": { 898 | "version": "1.0.7", 899 | "resolved": "https://registry.npmjs.org/simple-update-notifier/-/simple-update-notifier-1.0.7.tgz", 900 | "integrity": "sha512-BBKgR84BJQJm6WjWFMHgLVuo61FBDSj1z/xSFUIozqO6wO7ii0JxCqlIud7Enr/+LhlbNI0whErq96P2qHNWew==", 901 | "dev": true, 902 | "requires": { 903 | "semver": "~7.0.0" 904 | }, 905 | "dependencies": { 906 | "semver": { 907 | "version": "7.0.0", 908 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz", 909 | "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==", 910 | "dev": true 911 | } 912 | } 913 | }, 914 | "statuses": { 915 | "version": "2.0.1", 916 | "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", 917 | "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==" 918 | }, 919 | "string-width": { 920 | "version": "4.2.3", 921 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", 922 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", 923 | "requires": { 924 | "emoji-regex": "^8.0.0", 925 | "is-fullwidth-code-point": "^3.0.0", 926 | "strip-ansi": "^6.0.1" 927 | } 928 | }, 929 | "strip-ansi": { 930 | "version": "6.0.1", 931 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 932 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 933 | "requires": { 934 | "ansi-regex": "^5.0.1" 935 | } 936 | }, 937 | "supports-color": { 938 | "version": "5.5.0", 939 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", 940 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", 941 | "dev": true, 942 | "requires": { 943 | "has-flag": "^3.0.0" 944 | } 945 | }, 946 | "to-regex-range": { 947 | "version": "5.0.1", 948 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 949 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 950 | "dev": true, 951 | "requires": { 952 | "is-number": "^7.0.0" 953 | } 954 | }, 955 | "toidentifier": { 956 | "version": "1.0.1", 957 | "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", 958 | "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==" 959 | }, 960 | "touch": { 961 | "version": "3.1.0", 962 | "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz", 963 | "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==", 964 | "dev": true, 965 | "requires": { 966 | "nopt": "~1.0.10" 967 | } 968 | }, 969 | "ts-node": { 970 | "version": "10.8.2", 971 | "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.8.2.tgz", 972 | "integrity": "sha512-LYdGnoGddf1D6v8REPtIH+5iq/gTDuZqv2/UJUU7tKjuEU8xVZorBM+buCGNjj+pGEud+sOoM4CX3/YzINpENA==", 973 | "dev": true, 974 | "requires": { 975 | "@cspotcode/source-map-support": "^0.8.0", 976 | "@tsconfig/node10": "^1.0.7", 977 | "@tsconfig/node12": "^1.0.7", 978 | "@tsconfig/node14": "^1.0.0", 979 | "@tsconfig/node16": "^1.0.2", 980 | "acorn": "^8.4.1", 981 | "acorn-walk": "^8.1.1", 982 | "arg": "^4.1.0", 983 | "create-require": "^1.1.0", 984 | "diff": "^4.0.1", 985 | "make-error": "^1.1.1", 986 | "v8-compile-cache-lib": "^3.0.1", 987 | "yn": "3.1.1" 988 | } 989 | }, 990 | "type-is": { 991 | "version": "1.6.18", 992 | "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", 993 | "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", 994 | "requires": { 995 | "media-typer": "0.3.0", 996 | "mime-types": "~2.1.24" 997 | } 998 | }, 999 | "typescript": { 1000 | "version": "4.7.4", 1001 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", 1002 | "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", 1003 | "dev": true 1004 | }, 1005 | "undefsafe": { 1006 | "version": "2.0.5", 1007 | "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz", 1008 | "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==", 1009 | "dev": true 1010 | }, 1011 | "unpipe": { 1012 | "version": "1.0.0", 1013 | "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", 1014 | "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==" 1015 | }, 1016 | "utils-merge": { 1017 | "version": "1.0.1", 1018 | "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", 1019 | "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==" 1020 | }, 1021 | "v8-compile-cache-lib": { 1022 | "version": "3.0.1", 1023 | "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", 1024 | "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", 1025 | "dev": true 1026 | }, 1027 | "vary": { 1028 | "version": "1.1.2", 1029 | "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", 1030 | "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==" 1031 | }, 1032 | "wrap-ansi": { 1033 | "version": "7.0.0", 1034 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", 1035 | "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", 1036 | "requires": { 1037 | "ansi-styles": "^4.0.0", 1038 | "string-width": "^4.1.0", 1039 | "strip-ansi": "^6.0.0" 1040 | } 1041 | }, 1042 | "y18n": { 1043 | "version": "5.0.8", 1044 | "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", 1045 | "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" 1046 | }, 1047 | "yargs": { 1048 | "version": "17.5.1", 1049 | "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.5.1.tgz", 1050 | "integrity": "sha512-t6YAJcxDkNX7NFYiVtKvWUz8l+PaKTLiL63mJYWR2GnHq2gjEWISzsLp9wg3aY36dY1j+gfIEL3pIF+XlJJfbA==", 1051 | "requires": { 1052 | "cliui": "^7.0.2", 1053 | "escalade": "^3.1.1", 1054 | "get-caller-file": "^2.0.5", 1055 | "require-directory": "^2.1.1", 1056 | "string-width": "^4.2.3", 1057 | "y18n": "^5.0.5", 1058 | "yargs-parser": "^21.0.0" 1059 | } 1060 | }, 1061 | "yargs-parser": { 1062 | "version": "21.0.1", 1063 | "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.0.1.tgz", 1064 | "integrity": "sha512-9BK1jFpLzJROCI5TzwZL/TU4gqjK5xiHV/RfWLOahrjAko/e4DJkRDZQXfvqAsiZzzYhgAzbgz6lg48jcm4GLg==" 1065 | }, 1066 | "yn": { 1067 | "version": "3.1.1", 1068 | "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", 1069 | "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", 1070 | "dev": true 1071 | } 1072 | } 1073 | } 1074 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "readme-stats-github", 3 | "version": "1.1.0", 4 | "description": "Generate your GitHub's Stats in SVG", 5 | "main": "src/api/withexpress.ts", 6 | "dependencies": { 7 | "axios": "^0.21.0", 8 | "dotenv": "^16.0.1", 9 | "express": "^4.18.1", 10 | "millify": "^4.0.0", 11 | "node-base64-image": "^2.0.1" 12 | }, 13 | "scripts": { 14 | "dev": "nodemon ./src/withexpress.ts", 15 | "build": "tsc", 16 | "start": "node ./dist/withexpress.js" 17 | }, 18 | "author": "Tuhin Kanti Pal", 19 | "license": "Apache-2.0", 20 | "repository": { 21 | "type": "git", 22 | "url": "git+https://github.com/tuhinpal/readme-stats-github.git" 23 | }, 24 | "keywords": [ 25 | "github-readme-stats", 26 | "github-stats" 27 | ], 28 | "bugs": { 29 | "url": "https://github.com/tuhinpal/readme-stats-github/issues" 30 | }, 31 | "homepage": "https://github.com/tuhinpal/readme-stats-github#readme", 32 | "devDependencies": { 33 | "@markdoc/markdoc": "^0.1.3", 34 | "@types/express": "^4.17.13", 35 | "@types/node": "^18.0.3", 36 | "nodemon": "^2.0.19", 37 | "ts-node": "^10.8.2", 38 | "typescript": "^4.7.4" 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /scripts/createDynamicIndexHtml.js: -------------------------------------------------------------------------------- 1 | // const fs = require("fs"); 2 | // const Markdoc = require("@markdoc/markdoc"); 3 | // const readmeMd = fs.readFileSync("./README.md", "utf8"); 4 | 5 | // const ast = Markdoc.parse(readmeMd); 6 | // const content = Markdoc.transform(ast); 7 | // const markdownhtml = Markdoc.renderers.html(content); 8 | 9 | // const html = ` 10 | // 11 | // 12 | // 13 | // 14 | // 15 | // Readme Stats Github 16 | // 22 | // 23 | // 24 | //
${markdownhtml}
25 | // 26 | // 27 | // `; 28 | 29 | // fs.writeFileSync("./src/index.html", html); 30 | -------------------------------------------------------------------------------- /src/api/index.ts: -------------------------------------------------------------------------------- 1 | import getData from "../helper/getData"; 2 | import template from "../helper/template"; 3 | 4 | export type UiConfig = { 5 | text_color: string; 6 | icon_color: string; 7 | border_color: string; 8 | card_color: string; 9 | }; 10 | 11 | export default async function readmeStats(req: any, res: any): Promise { 12 | try { 13 | let username = req.query.username; 14 | 15 | let uiConfig: UiConfig = { 16 | text_color: req.query.tc || "000", 17 | icon_color: req.query.ic || "FF0000", 18 | border_color: req.query.bc || "7e7979", 19 | card_color: req.query.cc || "fff", 20 | }; 21 | 22 | if (!username) throw new Error("Username is required"); 23 | 24 | var fetchStats = await getData(username); 25 | res.setHeader("Cache-Control", "s-maxage=1800, stale-while-revalidate"); 26 | 27 | if (req.query.format === "json") { 28 | res.json(fetchStats); 29 | } else { 30 | res.setHeader("Content-Type", "image/svg+xml"); 31 | let svg = template(fetchStats, uiConfig); 32 | res.send(svg); 33 | } 34 | } catch (error: any) { 35 | res.setHeader("Cache-Control", "s-maxage=3600, stale-while-revalidate"); 36 | res.status(500).send(error.message); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/helper/basicFetch.ts: -------------------------------------------------------------------------------- 1 | import axios from "axios"; 2 | import getRandomToken from "./getRandomToken"; 3 | 4 | export interface User { 5 | name: string; 6 | login: string; 7 | avatarUrl: string; 8 | repositories: Repositories; 9 | followers: Followers; 10 | following: Following; 11 | contributionsCollection: ContributionsCollection; 12 | openedIssues: OpenedIssues; 13 | closedIssues: ClosedIssues; 14 | } 15 | 16 | export interface Repositories { 17 | totalCount: number; 18 | } 19 | 20 | export interface Followers { 21 | totalCount: number; 22 | } 23 | 24 | export interface Following { 25 | totalCount: number; 26 | } 27 | 28 | export interface ContributionsCollection { 29 | totalCommitContributions: number; 30 | restrictedContributionsCount: number; 31 | } 32 | 33 | export interface OpenedIssues { 34 | totalCount: number; 35 | } 36 | 37 | export interface ClosedIssues { 38 | totalCount: number; 39 | } 40 | 41 | export default async function basicFetch(username: string): Promise { 42 | let data = await axios({ 43 | method: "post", 44 | url: "https://api.github.com/graphql", 45 | headers: { 46 | "User-Agent": "tuhinpal/readme-stats-github", 47 | Authorization: getRandomToken(true), 48 | }, 49 | data: { 50 | query: `query userInfo($username: String!) { 51 | user(login: $username) { 52 | name 53 | login 54 | avatarUrl 55 | repositories(ownerAffiliations: OWNER, privacy: PUBLIC) { 56 | totalCount 57 | } 58 | followers { 59 | totalCount 60 | } 61 | following { 62 | totalCount 63 | } 64 | contributionsCollection { 65 | totalCommitContributions 66 | restrictedContributionsCount 67 | } 68 | openedIssues: issues(states: OPEN) { 69 | totalCount 70 | } 71 | closedIssues: issues(states: CLOSED) { 72 | totalCount 73 | } 74 | } 75 | }`, 76 | variables: { 77 | username, 78 | }, 79 | }, 80 | }); 81 | 82 | if (data.data.errors?.length > 0) 83 | throw new Error(data.data.errors[0].message); 84 | 85 | return data.data.data.user; 86 | } 87 | -------------------------------------------------------------------------------- /src/helper/getData.ts: -------------------------------------------------------------------------------- 1 | import millify from "millify"; 2 | import basicFetch from "./basicFetch"; 3 | import repositoryFetch from "./repositoryFetch"; 4 | const base64ImageFetcher = require("node-base64-image"); 5 | 6 | export type GetData = { 7 | username: string; 8 | name: string; 9 | pic: string | Buffer; 10 | public_repos: string | number; 11 | followers: string | number; 12 | following: string | number; 13 | total_stars: string | number; 14 | total_forks: string | number; 15 | total_issues: string | number; 16 | total_closed_issues: string | number; 17 | total_contributions: string | number; 18 | }; 19 | 20 | async function getData(username: string): Promise { 21 | let user = await basicFetch(username); 22 | let totalRepoPages = Math.ceil(user.repositories.totalCount / 100); 23 | let userRepositories = await repositoryFetch(username, totalRepoPages); 24 | 25 | if (!user.name) user.name = user.login; 26 | 27 | let output = { 28 | username: user.login, 29 | name: user.name, 30 | pic: await base64ImageFetcher.encode(`${user.avatarUrl}&s=200`, { 31 | string: true, 32 | }), 33 | public_repos: millify(user.repositories.totalCount), 34 | followers: millify(user.followers.totalCount), 35 | following: millify(user.following.totalCount), 36 | total_stars: millify(userRepositories.stars), 37 | total_forks: millify(userRepositories.forks), 38 | total_issues: millify( 39 | user.openedIssues.totalCount + user.closedIssues.totalCount 40 | ), 41 | total_closed_issues: millify(user.closedIssues.totalCount), 42 | total_contributions: millify( 43 | user.contributionsCollection.restrictedContributionsCount + 44 | user.contributionsCollection.totalCommitContributions 45 | ), 46 | }; 47 | 48 | return output; 49 | } 50 | 51 | export default getData; 52 | -------------------------------------------------------------------------------- /src/helper/getRandomToken.ts: -------------------------------------------------------------------------------- 1 | require("dotenv").config(); 2 | 3 | function getRandomToken(bearerHeader: boolean): string { 4 | let getEnvs: any = process.env; 5 | let getGhEnv: any = Object.keys(getEnvs).filter((key) => 6 | key.startsWith("GH_") 7 | ); 8 | getGhEnv = getGhEnv.map((key: string) => getEnvs[key]); 9 | let getRandomEnv: string = 10 | getGhEnv[Math.floor(Math.random() * getGhEnv.length)]; 11 | 12 | if (bearerHeader) { 13 | return `Bearer ${getRandomEnv}`; 14 | } 15 | return getRandomEnv; 16 | } 17 | 18 | export default getRandomToken; 19 | -------------------------------------------------------------------------------- /src/helper/repositoryFetch.ts: -------------------------------------------------------------------------------- 1 | import axios from "axios"; 2 | import getRandomToken from "./getRandomToken"; 3 | 4 | type RepositoryData = { 5 | stars: number; 6 | forks: number; 7 | openedIssues: number; 8 | }; 9 | 10 | export default async function repositoryFetch( 11 | username: string, 12 | totalpage: number 13 | ): Promise { 14 | let stars = 0; 15 | let forks = 0; 16 | let openedIssues = 0; 17 | 18 | await Promise.all( 19 | Array.from( 20 | { length: totalpage }, 21 | async (_, i) => await getPerPageReposData(username, i + 1) 22 | ) 23 | ).then((data: any) => { 24 | data.forEach((repo: any) => { 25 | stars += repo.stars; 26 | forks += repo.forks; 27 | openedIssues += repo.openedIssues; 28 | }); 29 | }); 30 | 31 | return { 32 | stars, 33 | forks, 34 | openedIssues, 35 | }; 36 | } 37 | 38 | async function getPerPageReposData( 39 | username: string, 40 | pageno: number 41 | ): Promise { 42 | let data = await axios({ 43 | method: "get", 44 | url: `https://api.github.com/users/${username}/repos?page=${pageno}&per_page=100`, 45 | headers: { 46 | "User-Agent": "tuhinpal/readme-stats-github", 47 | Authorization: getRandomToken(true), 48 | }, 49 | }); 50 | 51 | let stars = 0; 52 | let forks = 0; 53 | let openedIssues = 0; 54 | 55 | data.data.forEach((repo: any) => { 56 | stars += repo.stargazers_count; 57 | forks += repo.forks_count; 58 | openedIssues += repo.open_issues; 59 | }); 60 | 61 | return { 62 | stars, 63 | forks, 64 | openedIssues, 65 | }; 66 | } 67 | -------------------------------------------------------------------------------- /src/helper/template.ts: -------------------------------------------------------------------------------- 1 | import type { GetData } from "./getData"; 2 | import type { UiConfig } from "../api/index"; 3 | 4 | export default function template(data: GetData, uiConfig: UiConfig): string { 5 | var card = ` 6 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 76 | 77 | 78 | 79 | 80 | ${data.name} 81 | 82 | 84 | 85 | 86 | Followers: 87 | ${data.followers} 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 98 | 99 | 100 | Total Repo: 101 | ${data.public_repos} 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 111 | 112 | 113 | Star's Count: 114 | ${data.total_stars} 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 124 | 125 | 126 | Fork's Count: 127 | ${data.total_forks} 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 137 | 138 | 139 | Contributions: 140 | ${data.total_contributions} 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 151 | 152 | 153 | Total Issues: 154 | ${data.total_issues} 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 164 | 165 | 166 | Closed Issues: 167 | ${data.total_closed_issues} 168 | 169 | 170 | 171 | 172 | 173 | `; 174 | 175 | return card; 176 | } 177 | -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- 1 | 2 | Readme Stats for Github 3 | 4 | 5 | 6 | 7 | 11 | 12 | 13 | 14 | 15 | Redirecting to main website... 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/withexpress.ts: -------------------------------------------------------------------------------- 1 | import express from "express"; 2 | const app = express(); 3 | import readmeStats from "./api/index"; 4 | 5 | app.use("/api", readmeStats); 6 | 7 | const port: number = Number(process.env.PORT) || 3000; 8 | 9 | app.listen(port, () => { 10 | console.log(`Running on http://localhost:${port}`); 11 | }); 12 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es6", 4 | "module": "commonjs", 5 | "outDir": "./dist", 6 | "rootDir": "./src", 7 | "strict": true, 8 | "moduleResolution": "node", 9 | "esModuleInterop": true 10 | }, 11 | "exclude": ["./node_modules"] 12 | } 13 | --------------------------------------------------------------------------------