CommonJS

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2020 Aug 21 2:47
Editor
Edited
Edited
2025 Nov 14 19:48
Refs
Refs

CJS

A group organized by Kevin Dangoor
Uses require and module.exports syntax
Official module system for Node.js
  • CJS imports module synchronously
  • it will give you a copy of the imported object
  • CJS will not work in the browser
  • It will have to be transpiled and bundled
 
 
 
 

Backlinks

JS Pattern

Recommendations