{"library":"code-migration-helpers","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"0.6.1","tags":["javascript","code migration"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install code-migration-helpers","imports":["npx code-migration-helpers <command>","npx code-migration-helpers add-ext -f='./src' --from='.ts' --to='.js'","npx code-migration-helpers jest-to-vitest -f='./tests'"]},{"cmd":"yarn add code-migration-helpers","imports":[]},{"cmd":"pnpm add code-migration-helpers","imports":[]}],"homepage":"https://github.com/softkave/code-migration-helpers","github":"https://github.com/softkave/code-migration-helpers","docs":null,"changelog":null,"pypi":null,"npm":"code-migration-helpers","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}