{"id":25769,"library":"isomor-server","title":"Isomor Server","description":"Server-side library for isomor, a framework that abstracts frontend-backend communication layers to allow direct function calls from UI code. Version 3.0.4 is current; release cadence is irregular. Key differentiators: automatic layer generation via Babel transpilation, eliminates REST/GraphQL overhead, strong TypeScript consistency by colocating frontend and backend code. Targets Node >=11.","status":"active","version":"3.0.4","language":"javascript","source_language":"en","source_url":"https://github.com/apiel/isomor","tags":["javascript","typescript"],"install":[{"cmd":"npm install isomor-server","lang":"bash","label":"npm"},{"cmd":"yarn add isomor-server","lang":"bash","label":"yarn"},{"cmd":"pnpm add isomor-server","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"ESM-only package; CJS require will not work.","wrong":"const { IsomorServer } = require('isomor-server')","symbol":"IsomorServer","correct":"import { IsomorServer } from 'isomor-server'"},{"note":"Default export is named export; prefer named import for clarity.","wrong":"const isomorServer = require('isomor-server')","symbol":"default import","correct":"import isomorServer from 'isomor-server'"},{"note":"Types are exported; use type-only imports to avoid runtime inclusion.","wrong":"import { IsomorServerOptions } from 'isomor-server' (if used at runtime)","symbol":"type imports","correct":"import type { IsomorServerOptions } from 'isomor-server'"}],"quickstart":{"code":"import { IsomorServer } from 'isomor-server';\n\nconst server = new IsomorServer({\n  port: 4000,\n  // other options\n});\n\nserver.start();","lang":"typescript","description":"Creates and starts an IsomorServer instance on port 4000."},"warnings":[{"fix":"Upgrade Node to >= 11.","message":"Version 3.0.0 dropped support for Node < 11.","severity":"breaking","affected_versions":">=3.0.0 <3.1.0"},{"fix":"Replace `new IsomorServer({ config: {...} })` with `new IsomorServer({...})`.","message":"The `config` option in constructor is deprecated in 3.0.x; use `options` instead.","severity":"deprecated","affected_versions":">=3.0.0"},{"fix":"Install isomor-transformer: npm install isomor-transformer","message":"Requires isomor-transformer to be installed as a peer dependency (automatically with isomor).","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run `npm install isomor-server` in your project root.","cause":"Package not installed or not installed in the correct directory.","error":"Cannot find module 'isomor-server'"},{"fix":"Change `const { IsomorServer } = require('isomor-server')` to `import { IsomorServer } from 'isomor-server'`.","cause":"Using CommonJS require() instead of ESM import.","error":"TypeError: IsomorServer is not a constructor"},{"fix":"Create an instance: `const server = new IsomorServer({}); server.start();`","cause":"Forgetting to instantiate the class, using it as a static method.","error":"Property 'start' does not exist on type 'typeof IsomorServer'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}