Ecosystem to Node.js

Sometimes the ecosystem creates awesome tools or libraries for node.js, but a native alternative is present in Node.js. So, this page shows you codemod that handle this case.

correct-ts-specifiers

When you want to run typescript natively in Node.js, you need to have a correct "specifiers" in your imports statements.

To run this codemdod, you have to use this command:

npx codemod@latest run correct-ts-specifiers

Note: This codemod use "legacy" codemod CLI, if you wan to undersant more about it, you can read the new codemod CLI announcement.

Feedback

If you have any tools that you would like to be handle by userland-migrations, please open an issue on the Node.js Userland Migrations repository.

읽는 데 걸리는 시간
1분
저자
기여하기
이 페이지 수정
목차
  1. correct-ts-specifiers
  2. Feedback