{"library":"pixl-server-web","title":"pixl-server-web","description":"A web server component for the pixl-server framework, supporting HTTP and HTTPS, static file serving, custom URI handlers, access control, request logging, and performance monitoring. Current stable version is 3.0.4. Release cadence is moderate; breaking changes are rare but documented. Key differentiators: deep integration with pixl-server ecosystem, extensive configuration options, and built-in support for features like compression, keep-alive, and request queuing.","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install pixl-server-web"],"cli":null},"imports":["require('pixl-server-web')","const webServer = new(require('pixl-server-web').PixlServerWeb)()","const HttpServer = require('pixl-server-web').HttpServer"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"const pixlServer = require('pixl-server');\nconst server = new pixlServer();\nserver.start({\n  __main: require('pixl-server-web'),\n  web: {\n    port: 8080,\n    htdocs_dir: '/var/www/html',\n    log_requests: true\n  }\n});\nconsole.log('Server running on http://localhost:8080');","lang":"javascript","description":"Initializes a pixl-server with the web component, serving static files from /var/www/html on port 8080.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}