Describe alternatives to require.extensions
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 122k
- Forks
- 37.3k
- Avg merge
- 4d 2h
- Merged PRs (30d)
- 283
Description
https://nodejs.org/api/modules.html#modules_require_extensions says require.extensions is deprecated.
Per https://github.com/TypeStrong/ts-node/issues/641 and https://github.com/TypeStrong/ts-node/issues/989 there are no alternatives. They reference further the documentation of @babel/node, @babel/register, and coffeescript.
• Either re-introduce require.extensions or describe more precisely the alternatiles that should be used.
Contributor guide
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
Start with the Node.js Modules API section linked in the issue and review the referenced ts-node, @babel/node, @babel/register, and CoffeeScript documentation. Document precise supported alternatives to require.extensions, or clarify the deprecation guidance if no general replacement exists; done when the section gives actionable guidance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- coffeescript, node.js
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100