swc-project / swc-project/swc-node
Mention / Compare with new node typescript support
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 95
- Avg merge
- 14d 11h
- Merged PRs (30d)
- 1
Description
With the new node version 24, node can also execute typescript files.
Previously I've used
node --import @swc-node/register/esm-register src/index.ts
Now
node src/index.ts
This doesn’t seem to mentioned in the current SWC Node documentation. But I think it worth adding a note, that while Node’s native TypeScript support seems to have some limitations like no support for enums or tsx code, it can be a useful alternative for executing typescript code.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the current SWC Node documentation and read the section describing TypeScript execution. Compare its guidance with Node 24's native TypeScript support and the limitations named in the issue; done means the documentation mentions this alternative and its caveats accurately.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100