A CLI tool that transpiles plain JavaScript or framework-specific components into multiple frontend frameworks: React, Vue, Svelte, Angular, and Vanilla JS. Version 1.0.2 is the initial release. It reads input files (.js, .ts, .jsx, .tsx, .vue, .svelte) and outputs framework-ready components with appropriate lifecycle hooks (useEffect, onMounted, onMount, ngOnInit). Supports both JavaScript and TypeScript output. Intended for code migration or multi-framework component generation, but lacks modular architecture, error handling, and active maintenance. Differentiators: multi-framework output from a single input, but limited customization and no plugin system.
npm install multi-framework-component-transpilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Transpiles input.js into React, Vue, Svelte, Angular, and Vanilla JS components in ./output.
Review generated output for missing code; manually refactor complex patterns.
Use clear, unique input file names or manually rename output files.
Specify a non-existent or empty output directory, or back up contents.
Ensure input files are UTF-8 encoded.
Run with npx: npx multi-framework-component-transpiler <inputFile> [outputDir]
Provide a valid input file path as first argument.
Use one of: .js, .ts, .jsx, .tsx, .vue, .svelte
No dependency data recorded yet.