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

Member predicate PackageJson::getPackageName

Gets the name of this package. If the package is located under the package pkg1 and its relative path is foo/bar, then the resulting package name will be pkg1/foo/bar.

string getPackageName()