CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.13 (changelog, source)
Search

Member predicate PackageJson::getExportedPath

Gets the path to the file exported with the given relative path.

This can be given by the exports property, but also considers main and module paths to be exported under the relative path ".".

string getExportedPath(string relativePath)