Statements (31)
Predicate | Object |
---|---|
gptkbp:instanceOf |
gptkb:software
|
gptkbp:canBe |
core module
local module third-party module |
gptkbp:coreModuleExample |
path
fs os http |
gptkbp:documentation |
https://nodejs.org/api/modules.html
|
gptkbp:exportedWith |
exports
module.exports |
gptkbp:fileExtension |
.js
.mjs .cjs |
https://www.w3.org/2000/01/rdf-schema#label |
Node.js modules
|
gptkbp:imported |
import statement
require() |
gptkbp:introducedIn |
gptkb:Node.js_v0.1.10
|
gptkbp:managedBy |
gptkb:npm
yarn |
gptkbp:moduleSystem |
gptkb:ES_Modules
gptkb:CommonJS |
gptkbp:purpose |
organize code into reusable units
|
gptkbp:specifies |
package.json
|
gptkbp:thirdPartyModuleExample |
gptkb:lodash
mongoose express async |
gptkbp:usedIn |
gptkb:Node.js
|
gptkbp:bfsParent |
gptkb:Socket.io
|
gptkbp:bfsLayer |
6
|