CJS

E554833

CJS is a JavaScript module format, primarily used in Node.js, that loads modules synchronously with `require` and exports them via `module.exports`.

Try in SPARQL Jump to: Statements Referenced by

Statements (46)

Predicate Object
instanceOf JavaScript module format
canBeBundledBy Rollup (with plugins) NERFINISHED
Webpack NERFINISHED
esbuild NERFINISHED
category module system
coexistsWith ECMAScript modules NERFINISHED
comparedTo ESM NERFINISHED
configurationInNode package.json type field
defaultIn early Node.js versions
defaultTypeInNodeWithoutField commonjs
dependencyGraph resolved at runtime
designedFor CommonJS specification NERFINISHED
evaluationOrder eager
exportMechanism exports object
module.exports
fullName CommonJS module format NERFINISHED
hasFeature __dirname
__filename
module-level scope
require cache
hasLimitation no static analysis of imports by default
not natively supported in browsers without bundling
importFunction require
influenced Node.js module ecosystem
interoperatesWith ES modules via interop bridges
loadingMechanism synchronous
moduleIdentifier module.id
moduleResolution runtime resolution
notStandardizedBy ECMA International NERFINISHED
originatedIn CommonJS project
primaryUsage server-side JavaScript
standardizedBy CommonJS working group NERFINISHED
supportsCircularDependencies true
supportsDefaultExport via assigning to module.exports
supportsDynamicLoading true
supportsJSONRequire true in Node.js
supportsNamedExports via properties on module.exports
supportsNativeAddons true in Node.js
supportsTopLevelAwait false
typicalFileExtension .js
typicalUsagePattern const x = require('x');
module.exports = function() {};
usedFor code organization
dependency management
packaging reusable libraries
usedIn Node.js NERFINISHED

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.