Code Migration Helpers
JSON →A CLI toolset (v0.6.1) to automate common code migration tasks: adding extensions to relative imports (e.g., converting `./file` to `./file.js`), migrating Jest test constructs to Vitest (replacing `jest.fn()` with `vi.fn()`), and renaming file extensions (e.g., `.js` → `.cjs`). Designed for Node.js 18+ with a file-based scope; output may not be 100% accurate—always review changes. Lightweight alternative to codemods or jscodeshift for these specific patterns.
Traffic · last 30 days stale · no recent hits
total hits 9
actors 3 distinct systems
last hit 16d ago AhrefsBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇳🇴 Norway · 🇹🇷 Turkey · 🇨🇦 Canada
Resources
packagecode-migration-helpers ↗
API endpoints
full doc /v1/registry/code-migration-helpers