{"id":27008,"library":"galaxy-framework","title":"Galaxy Framework","description":"A utility framework with Rollup bundling and TypeScript support. Current stable version: 4.0.32. Frequent releases. Note: No README data available. Includes peer dependency on antd ^3.26.16, which may cause compatibility issues with newer versions.","status":"active","version":"4.0.32","language":"javascript","source_language":"en","source_url":null,"tags":["javascript","typescript"],"install":[{"cmd":"npm install galaxy-framework","lang":"bash","label":"npm"},{"cmd":"yarn add galaxy-framework","lang":"bash","label":"yarn"},{"cmd":"pnpm add galaxy-framework","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Required peer dependency for UI components","package":"antd","optional":false}],"imports":[{"note":"ESM-only; CommonJS require will fail. Use import.","wrong":"const Galaxy = require('galaxy-framework');","symbol":"Galaxy","correct":"import { Galaxy } from 'galaxy-framework'"},{"note":"Default export available; CommonJS require leads to undefined.","wrong":"const galaxy = require('galaxy-framework').default;","symbol":"default","correct":"import galaxy from 'galaxy-framework'"},{"note":"TypeScript types shipped; use type import for better bundling.","symbol":"types","correct":"import type { GalaxyConfig } from 'galaxy-framework'"}],"quickstart":{"code":"import { Galaxy } from 'galaxy-framework';\nconst config = { antd: { theme: 'dark' } };\nconst app = new Galaxy(config);\napp.run();","lang":"typescript","description":"Initialize a Galaxy application with antd theme configuration."},"warnings":[{"fix":"Replace `import galaxy from 'galaxy-framework'` with `import { Galaxy } from 'galaxy-framework'`.","message":"In version 4.x, the default export was removed. Use named exports.","severity":"breaking","affected_versions":">=4.0.0"},{"fix":"Replace `app.init()` with `app.run()`.","message":"The `init()` method is deprecated. Use `run()` instead.","severity":"deprecated","affected_versions":">=3.0.0"},{"fix":"Install antd@3.26.16: `npm install antd@3.26.16`","message":"Requires antd ^3.26.16. Using antd v4+ will cause runtime errors.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'3.26.16':28 '4.0.32':15 'antd':27 'avail':22 'bundl':8 'caus':31 'compat':32 'current':12 'data':21 'depend':25 'framework':2,5 'frequent':16 'galaxi':1 'includ':23 'issu':33 'javascript':37 'may':30 'newer':35 'note':18 'peer':24 'readm':20 'releas':17 'rollup':7 'stabl':13 'support':11 'typescript':10,38 'util':4 'version':14,36","created_at":"2026-05-01T17:44:02.383247+00:00","updated_at":"2026-05-01T17:44:02.383247+00:00","problems":[{"fix":"Use named import: `import { Galaxy } from 'galaxy-framework'`","cause":"Using default import after version 4.0.0 where default export was removed.","error":"TypeError: galaxy is not a function"},{"fix":"Run: `npm install antd@3.26.16`","cause":"Missing peer dependency antd.","error":"Module not found: Can't resolve 'antd'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/galaxy-framework","openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework","devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-05-01","next_check":"2026-07-30","install_tag":null}}