ody-transpiler

raw JSON →
1.0.6 verified Fri May 01 auth: no javascript

A JavaScript/TypeScript transpiler utility, version 1.0.6, providing transformation capabilities for code. Its release cadence is unknown. Key differentiators vs alternatives are not documented. Currently minimal documentation and niche usage.

error Cannot find module 'ody-transpiler'
cause Package not installed or not in node_modules.
fix
npm install ody-transpiler
error TranspileError: Invalid Options
cause Unsupported options passed to transpile function.
fix
Check documentation for valid options; only 'modules' and 'sourceMaps' are known.
gotcha Package documentation is minimal; actual API may differ from examples.
fix Inspect node_modules or source directly to understand exports.
gotcha The package name 'ody-transpiler' is generic; could conflict with other tools.
fix Check npm scope or use full package name.
gotcha Only version 1.0.6 is published; newer versions may not exist.
fix Pin to exact version or verify updates.
npm install ody-transpiler
yarn add ody-transpiler
pnpm add ody-transpiler

Demonstrates basic usage: transpile a code snippet with CommonJS output and source maps.

import { transpile } from 'ody-transpiler';

const code = `const x = 1;`;
const result = transpile(code, {
  modules: 'commonjs',
  sourceMaps: true
});

console.log(result.code);
console.log(result.map);