{"library":"hexo-server","type":"library","category":null,"description":"hexo-server is the official server module for the static site generator Hexo. It provides a local development server to preview Hexo sites during development. Currently at stable version 3.0.0, it follows Hexo's release cadence, often aligning major version bumps with Node.js End-of-Life cycles. Key differentiators include its tight integration with the Hexo ecosystem, automatic recompilation of site assets on changes, and configurable options for port, IP, logging, and static file serving. It uses a Connect/Express-like middleware stack to serve generated files and handle live reloading, making it an essential tool for Hexo developers.","language":"javascript","status":"active","version":"3.0.0","tags":["javascript","hexo","server","connect"],"last_verified":"Wed May 27","install":[{"cmd":"npm install hexo-server","imports":["const pluginInit = require('hexo-server');\n// hexo.init(); // Assuming hexo instance is available\n// pluginInit(hexo); // This is how Hexo's core registers the plugin","const startServerCommand = require('hexo-server/lib/server');\n// To run programmatically, you'd need a Hexo instance:\n// const hexo = require('hexo');\n// const instance = new hexo(process.cwd());\n// instance.init().then(() => startServerCommand(instance.args));"]},{"cmd":"yarn add hexo-server","imports":[]},{"cmd":"pnpm add hexo-server","imports":[]}],"homepage":"https://hexo.io","github":"https://github.com/hexojs/hexo-server","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/hexo-server","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/hexo-server/compatibility"}}