{"library":"lunarx","title":"LunarX","description":"LunarX is a lightweight SSR framework for React that emphasizes simplicity and flexibility, positioning itself as an alternative to Next.js and Remix. The current stable version is 0.3.2. It features file-based routing with minimal configuration, aiming for a simplified developer experience. Released under the MIT license, LunarX targets Node.js 16.8.0+. As an early-stage project (pre-1.0), it may undergo breaking changes. Key differentiators include a focus on being lightweight and less opinionated than established frameworks, though it lacks the ecosystem and maturity of Next.js or Remix.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install lunarx"],"cli":{"name":"lunarx","version":null}},"imports":["import { LunarX } from 'lunarx'","import { defineConfig } from 'lunarx/config'","import { useRouter } from 'lunarx/router'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { LunarX } from 'lunarx';\n\nconst app = LunarX.createApp({\n  routes: 'pages',\n  engine: {\n    port: 3000,\n  },\n});\n\n// pages/index.tsx\nexport default function Home() {\n  return <h1>Hello LunarX!</h1>;\n}\n\napp.start().then(() => {\n  console.log('Server running on http://localhost:3000');\n});","lang":"typescript","description":"Creates a LunarX app with file-based routing from a 'pages' directory and starts the server on port 3000.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}