Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.6.4-dev (changelog, source)

Predicate InternalModuleNaming::getPackageRelativePath

Gets the path to mod relative to its enclosing package, including the package name.

Import path

import semmle.javascript.endpoints.EndpointNaming
string getPackageRelativePath(Module mod)