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.

Tiempo de Lectura
1 min
Autor
Contribuir
Editar esta página
Tabla de Contenidos
  1. correct-ts-specifiers
  2. Feedback