Class Dependencies::ExternalNPMDependency

An NPM package referenced in a package.json file.

Direct supertypes

Indirect supertypes

Predicates

getAnImport

Gets an import that imports to this module.

getNPMPackageName

Gets the name of the NPM package this module belongs to.

getVersion

Gets the version of the NPM package this module belongs to.

Inherited predicates

getAUse

A use of this dependency, which is of the given kind.

from NPMDependency
getEndLine

Gets the line on which this element ends.

from Locatable
getFile

Gets the file this program element comes from.

from Locatable
getLocation

Gets this element’s location.

from Locatable
getNumLines

Gets the number of lines covered by this element.

from Locatable
getStartLine

Gets the line on which this element starts.

from Locatable
info

Holds if this dependency has identifier id and version v.

from NPMDependency
toString

Gets a textual representation of this element.

from Locatable

Charpred