{"id":25767,"library":"isomor-ng-nest","title":"isomor-ng-nest","description":"isomor-ng-nest v2.7.0 is a frontend/backend library for the isomor ecosystem, enabling direct function calls from UI to server without explicit API layers (REST/GraphQL). It uses Babel transpilation to separate frontend and backend code within a single project. Supports Node >=11 and ships TypeScript types. It is part of a set of packages for isomorphic TypeScript development with Angular (ng) and NestJS (nest) integrations. Release cadence is irregular, tied to isomor updates.","status":"active","version":"2.7.0","language":"javascript","source_language":"en","source_url":"https://github.com/apiel/isomor","tags":["javascript","isomorphic","typescript","angular","ng","nest","server"],"install":[{"cmd":"npm install isomor-ng-nest","lang":"bash","label":"npm"},{"cmd":"yarn add isomor-ng-nest","lang":"bash","label":"yarn"},{"cmd":"pnpm add isomor-ng-nest","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Core dependency for isomorphic layer abstraction","package":"isomor","optional":false}],"imports":[{"note":"Default export; no named exports.","wrong":"","symbol":"isomorNgNest","correct":"import isomorNgNest from 'isomor-ng-nest'"},{"note":"Named export for NestJS server integration.","wrong":"import NestServer from 'isomor-ng-nest'","symbol":"NestServer","correct":"import { NestServer } from 'isomor-ng-nest'"},{"note":"Named export for NestJS module configuration.","wrong":"","symbol":"NestModule","correct":"import { NestModule } from 'isomor-ng-nest'"}],"quickstart":{"code":"import isomorNgNest from 'isomor-ng-nest';\n\n// Initialize isomor with NestJS\nconst app = await isomorNgNest({\n  server: {\n    port: 3000,\n    module: AppModule\n  },\n  client: {\n    output: './src/generated-client.ts'\n  }\n});\n\napp.start();","lang":"typescript","description":"Shows how to set up isomor-ng-nest with a NestJS backend and generate client-side code."},"warnings":[{"fix":"npm install isomor@^2.7.0","message":"isomor-ng-nest requires isomor as a peer dependency. Ensure isomor is installed at the same version or compatible.","severity":"gotcha","affected_versions":">=2.0.0"},{"fix":"Replace `new IsomorNgNest()` with the functional `isomorNgNest()` export.","message":"In v2.0.0, the API changed from a class-based to a function-based initialization. Old code using `new IsomorNgNest()` will break.","severity":"breaking","affected_versions":"<2.0.0"},{"fix":"Use the `server` property directly in the config object.","message":"The `NestServer` export is deprecated in favor of inline configuration within `isomorNgNest()`.","severity":"deprecated","affected_versions":">=2.5.0"},{"fix":"Add `\"skipLibCheck\": true` to tsconfig.json","message":"TypeScript strict mode may cause issues with emitted client code due to complex generics. Use `skipLibCheck: true` as workaround.","severity":"gotcha","affected_versions":">=2.0.0"},{"fix":"Upgrade Node.js to v11 or later.","message":"Node.js version >=11 required; earlier versions are not supported and will throw runtime errors.","severity":"breaking","affected_versions":">=2.0.0"}],"env_vars":null,"search_vec":"'11':47 'angular':65,82 'api':28 'babel':33 'backend':39 'cadenc':72 'call':21 'code':40 'develop':63 'direct':19 'ecosystem':17 'enabl':18 'explicit':27 'frontend':37 'frontend/backend':12 'function':20 'integr':70 'irregular':74 'isomor':2,6,16,77 'isomor-ng-nest':1,5 'isomorph':61,80 'javascript':79 'layer':29 'librari':13 'nest':4,8,69,84 'nestj':68 'ng':3,7,66,83 'node':46 'packag':59 'part':54 'project':44 'releas':71 'rest/graphql':30 'separ':36 'server':25,85 'set':57 'ship':49 'singl':43 'support':45 'tie':75 'transpil':34 'type':51 'typescript':50,62,81 'ui':23 'updat':78 'use':32 'v2.7.0':9 'within':41 'without':26","created_at":"2026-05-01T13:46:28.228948+00:00","updated_at":"2026-05-01T13:46:28.228948+00:00","problems":[{"fix":"Run `npm install isomor-ng-nest isomor` and ensure `tsconfig.json` includes `\"esModuleInterop\": true`.","cause":"Missing npm install or TypeScript not resolving the package types.","error":"Cannot find module 'isomor-ng-nest' or its corresponding type declarations."},{"fix":"Use `import isomorNgNest from 'isomor-ng-nest'` (default import).","cause":"Importing as named export instead of default export.","error":"TypeError: isomorNgNest is not a function"},{"fix":"Import or define the NestJS AppModule before using it in the configuration.","cause":"AppModule not imported or defined in the file.","error":"Cannot find name 'AppModule'."},{"fix":"Upgrade Node.js to v11 or higher.","cause":"Running on an older Node.js version.","error":"Error: isomor requires Node >=11"}],"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":"https://github.com/apiel/isomor","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/isomor-ng-nest","openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework","http-networking","serialization"],"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}}