-
Hello, everyone |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hey @negahama, Can you explain a bit how you want to use the CLI in your other project? Is your other project also a JavaScript/TypeScript app? |
Beta Was this translation helpful? Give feedback.
-
Thank you so much. |
Beta Was this translation helpful? Give feedback.
In theory, you could just run
node <path/to/cli.js>
to run the transpiler as a separate process. However I would recommend something different:You can add a dependency from your app to the cli package and invoke the transpiler from code. This has a few benefits, mainly: