tsx icon indicating copy to clipboard operation
tsx copied to clipboard

⚡️ TypeScript Execute: Node.js enhanced to run TypeScript & ESM

Results 185 tsx issues
Sort by recently updated
recently updated
newest added

### Description In windows, Using dynamic import with absolute path cause `ERR_UNSUPPORTED_ESM_URL_SCHEME` error ![image](https://user-images.githubusercontent.com/8007202/191320171-f0e19191-d6c8-4cb7-80e1-d15c15fb348c.png) ### Reproduction 1. create a.ts file following ```ts import path from "path"; const abs_path = path.resolve('./b.ts',...

pr welcome

### Acknowledgements - [X] I searched existing issues before opening this one to avoid duplicates - [X] I understand this is not a place for seek help, but to report...

bug
pr welcome
pending triage

### Precheck - [X] I searched existing issues before opening this one to avoid duplicates - [X] I understand tsx aims for TypeScript parity and will not support arbitrary Node.js...

enhancement
watch

### Acknowledgements - [X] I searched existing issues before opening this one to avoid duplicates - [X] I understand this is not a place for seek help, but to report...

bug
pr welcome
pending triage

### Feature request Thanks for developing and maintaining this library. Would you be open to adding a flag to disable the restart on return behavior when running in watch mode...

enhancement
help wanted
watch

some typescript and node framework (like nestjs) use `emitDecoratorMetadata` , but esbuild not support it, and [@anatine/esbuild-decorators](https://github.com/anatine/esbuildnx) plugin can solve it . but esbuild's `transform` api [not support plugin](https://esbuild.github.io/plugins/),some can...

enhancement
blocked

### Precheck - [X] I searched existing issues before opening this one to avoid duplicates - [X] I understand tsx aims for TypeScript parity and will not support arbitrary Node.js...

enhancement
pending triage

### Bug description I put my project inside `node_modules` directory (not even real `node_modules` alongside some `package.json`, just a new directory named that). After doing so, resolving tsconfig paths stopped...

bug
pending triage
tsconfig

### Bug description When using watch mode, piping stdout is broken, it doesn't do anything at all, just prints straight to console. It works without watch. - Before ![image](https://user-images.githubusercontent.com/7280931/216785299-cd7ece4c-ac1f-490a-891a-10cd398eb84d.png) -...

bug
pr welcome
watch

### Precheck - [X] I searched existing issues before opening this one to avoid duplicates - [X] I'm able to reproduce this issue and prove it with a minimal reproduction...

bug
pr welcome
interop