Predicate MainModulePath::of
Gets the path to the file exported from pkg
as relativePath
.
Import path
import semmle.javascript.NodeModuleResolutionImpl
MainModulePath of(PackageJson pkg, string relativePath)
Gets the path to the file exported from pkg
as relativePath
.
import semmle.javascript.NodeModuleResolutionImpl
MainModulePath of(PackageJson pkg, string relativePath)