nodejs / nodejs/require-in-the-middle
Capturing Local require
Open
Nobody has claimed this yet.
agent-nodejs
- Dominant language
- JavaScript
- Stars
- 186
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Description
I tried this with Typescript and it worked great.
But is it possible to capture local project level imports too?
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 at the module's current require-hook entry point and trace how package imports are identified. Determine whether project-level imports are intentionally excluded, then define coverage for capturing them and verify the behavior with the existing test setup. The issue does not name specific files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100