nodejs / nodejs/require-in-the-middle

Capturing Local require

Open
#37 3 comments 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.