Babel integration for isomor, a framework that abstracts frontend-backend communication by allowing direct function calls from UI code. v2.0.2 (stable, maintained), ships TypeScript types, requires Node >=11. Unlike REST or GraphQL, isomor uses Babel transpilation to automatically separate client and server code within a single project directory. This package provides the Babel plugin that transforms imports and generates the necessary layers. Key differentiator: eliminates API boilerplate by keeping frontend and backend code together, with TypeScript support.
npm install isomor-babelNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configure Babel plugin for isomor-babel, enabling direct server function calls from client code.
Update babel config to use ['isomor-babel', options] syntax.
Upgrade to v2.x.
Install @babel/core as a devDependency.
Use import syntax or dynamic import().
Upgrade Node.js to version 11 or later.
Upgrade Babel to version 7 or later.
Run npm install @babel/core --save-dev.
Use import isomorBabel from 'isomor-babel' instead of require().
Change to ['isomor-babel', { ... }] in plugins array.