p-2000/package.json
edo 2c37d5934c Add P-2000 real-time monitor with WebSocket, map, and filter panel
- Koa server on port 10000 with WebSocket live feed from 112-nu.nl RSS
- PM2 watch mode for auto-restart on file changes
- Dark navy UI with per-type color accents (fire/ambulance/police/rescue)
- Slide-in filter panel with service type + 12 Dutch province filters
- Card click opens detail modal: parsed priority (A1/A2/MGS), vehicle
  number, rit/bon number, alarm type, meldkamer, and eenheden
- Server-side Nominatim geocoder (cached, rate-limited) powering an
  interactive Leaflet/OpenStreetMap map in the modal (CartoDB Voyager tiles)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-01 10:16:38 +00:00

25 lines
566 B
JSON

{
"name": "p2000-monitor",
"version": "1.0.0",
"description": "Real-time Dutch P-2000 emergency channel monitor",
"main": "server.js",
"scripts": {
"start": "node server.js",
"dev": "pm2 start pm2.config.js --env development",
"stop": "pm2 stop p2000",
"logs": "pm2 logs p2000",
"restart": "pm2 restart p2000"
},
"dependencies": {
"@koa/router": "^15.4.0",
"axios": "^1.7.2",
"koa": "^2.15.3",
"koa-static": "^5.0.0",
"ws": "^8.18.0",
"xml2js": "^0.6.2"
},
"devDependencies": {
"pm2": "^5.4.2"
}
}