:NPM:Package:Json:File Node

represents information about executable files of the package that should be installed in PATH

Properties

NameDescription
fileNamefile name, relative to the scanned directory
namename of the package
versionversion of the package
descriptiondescription of the package
keywordskeywords of the package
homepagehomepage of the package
licenselicense of the package
filesarray of file patterns that describes the entries to be included when your package is installed as a dependency
mainmodule id that is the primary entry point to the package
browsermodule id that is the entry point in case of a client-side use of the module
privatespecifies if the package is private; if true, npm will prevent it from being published or installed publicly

Relations

NameTarget Label(s)CardinalityDescription
HAS_EXPORT:NPM:Export:File0..*entry point(s) of the package
HAS_BINARY:NPM:Binary0..*executable files of the package that should be installed in PATH
HAS_MAN:NPM:Man0..*a file for the man program to find
IN_REPOSITORY:NPM:Repository0..1the repository of the package
HAS_BUG_TRACKER:NPM:BugTracker0..1where to report bugs
HAS_AUTHOR:NPM:Person0..1the author of the package
HAS_CONTRIBUTOR:NPM:Person0..*contributors of the package
HAS_FUNDING:NPM:Funding0..*funding information
DECLRES_SCRIPT:NPM:Script0..*script(s) of the package
DECLARES_CONFIG:NPM:Config0..*configuration parameters used in package scripts
DECLARES_DEPENDENCY:NPM:Dependency0..*dependencies of the package
DECLARES_DEV_DEPENDENCY:NPM:Dependency0..*additional items
DECLARES_PEER_DEPENDENCY:NPM:Dependency0..*compatibilities of the package (plugins)
HAS_BUNDLED_DEPENDENCY:NPM:Dependency0..*array of package names to be bundled when publishing the package
HAS_OVERRIDES:NPM:Overrides0..*specific change(s) to dependencies
DECLARES_ENGINE:NPM:Engine0..*current supported versions of node or npm of the package
DECLARES_OS:NPM:Os0..*the operating systems the module will run on
DECLARES_CPU:NPM:Cpu0..*cpu architectures the code runs on
DECLARES_DEV_ENGINE:NPM:DevEngine0..*developer engines
DECLARES_PUBLISH_CONFIG:NPM:PublishConfig0..*set of config values used in publish-time
DECLARES_WORKSPACE:NPM:Workspace:File:Directory0..*locations of the workspaces