Class NPM::NPMPackage

An NPM package.

Direct supertypes

Indirect supertypes

Fields

pkg

The package.json file of this package.

Predicates

declaresDependency

Holds if this package declares a dependency on version v of package p.

getAFile

Gets a file belonging to this package.

getAModule

Gets a Node.js module belonging to this package.

getMainModule

Gets the main module of this package.

getNodeModulesFolder

Gets the node_modules folder of this package.

getPackageJSON

Gets the package.json object of this package.

getPackageName

Gets the name of this package.

getPath

Gets the full file system path of this package.

toString

Gets a textual representation of this package.

Charpred