Determines the path that will be imported into the given startingPoint from the given importPath. Resolves symlinks, tries to map .js extensions to .ts extensions when needed, and tries to find the best node_modules import for package imports.
startingPoint
importPath
.js
.ts
node_modules
undefined if no matches are found.
undefined
@augment-vir/node
Determines the path that will be imported into the given
startingPoint
from the givenimportPath
. Resolves symlinks, tries to map.js
extensions to.ts
extensions when needed, and tries to find the bestnode_modules
import for package imports.