j2v (v0.1.2) is a CLI tool that automates migration from Jest to Vitest for JavaScript/TypeScript projects. It converts Jest configuration to Vitest, generates setup files, and removes Jest dependencies. Releases are occasional. Key differentiators: evaluates Jest config at conversion time (handles derived values), supports globals option, and provides a compatibility list of supported APIs. Limitations: CommonJS setup files break, and code style may not be preserved.
npm install j2vNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Run j2v on a project directory with globals enabled in dry-run mode.
Convert .cjs or .js (CJS) setup files to ES modules before running j2v.
Run a formatter like Prettier or Biome after migration.
Review the generated Vitest config to ensure derived values are correct.
Use @namchee/j2v in install/runtime commands.
Use npx @namchee/j2v or install locally.
Add '@namchee/j2v' to devDependencies and run via 'pnpm @namchee/j2v' or use pnpx.
Ensure the target directory has a Jest configuration file.
No dependency data recorded yet.