ts-node
ts-node copied to clipboard
Intuitive ignore behavior for `npx` utilities
Use case: write a .ts script on github; run it without precompilation using npx / npm x
$ npm x -- mygithubusername/my-cool-cli-tool --help
In cases like these, the entrypoint is inside of a node_modules directory. Is there some way we can detect this and tweak the default ignore option to allow it to compile?