Class NpmPackage
An NPM package.
Import path
import javascript
Direct supertypes
Fields
pkg |
The |
Predicates
declaresDependency |
Holds if this package declares a dependency on version |
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 |
getPackageJSON |
DEPRECATED: Alias for getPackageJson |
getPackageJson |
Gets the |
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. |