mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-10 01:39:54 +03:00
replace express with itty router - its 2x faster
This commit is contained in:
@@ -1,19 +1,20 @@
|
||||
{
|
||||
"name": "api",
|
||||
"version": "1.0.0",
|
||||
"version": "3.6.0",
|
||||
"description": "mock api for EMS-ESP",
|
||||
"author": "proddy",
|
||||
"main": "server.js",
|
||||
"main": "server.ts",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"dev": "node --watch ./server.js localhost 3080",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"standalone": "bun --watch server.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@msgpack/msgpack": "^2.8.0",
|
||||
"compression": "^1.7.4",
|
||||
"express": "^4.18.2",
|
||||
"multer": "^1.4.5-lts.1"
|
||||
"busboy": "^1.6.0",
|
||||
"itty-router": "^4.0.23"
|
||||
},
|
||||
"packageManager": "yarn@4.0.2"
|
||||
"packageManager": "yarn@4.0.2",
|
||||
"devDependencies": {
|
||||
"@types/multer": "^1.4.11"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user