{"library":"servor","title":"Servor Development Server","description":"Servor is a compact, dependency-free development server designed for modern web application development, particularly single-page applications. Currently at version 4.0.2, it provides features like live reloading, HTTPS/HTTP2 support with self-signed certificates, gzip compression, and frontend routing redirection. It aims for minimal code and relies only on native Node.js and browser APIs, differentiating it from larger alternatives by its zero-dependency philosophy. Releases are generally stable, with major version updates introducing significant architectural changes, such as the shift to native ESM in v4.","language":"javascript","status":"active","last_verified":"Sun Apr 19","install":{"commands":["npm install servor"],"cli":{"name":"servor","version":null}},"imports":["import { Servor } from 'servor';","const { Servor } = await import('servor');","npx servor . index.html 8080 --reload"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"npx servor gh:lukejacksonn/perflink --browse --editor --reload\n\n# Or, for a local project:\n# npm install servor --save-dev\n# then add to package.json scripts:\n// {\n//   \"scripts\": {\n//     \"start\": \"servor www index.html 8080 --reload --browse\"\n//   }\n// }\n# npm start","lang":"javascript","description":"This command demonstrates how to clone a GitHub repository, start a Servor instance, open it in a browser and editor, and enable live reloading for development.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}