Add `find` method to require
-
-
Notifications
You must be signed in to change notification settings - Fork 35.7k
Closed
Closed
Description
opened
Actually it's very strange behaviour of require.resolve, which throws an error when package not found. Add require.find method which would return null if package not found.
Metadata
Metadata
Assignees
No one assigned
Labels
No labels
No labels
Type
No type
Fields
No fields configured for issues without a type.
Projects
No projects
Milestone
No milestone
Relationships
None yet
Development
No branches or pull requests