.CJS File
.cjs is CommonJS Code File
Features | Description |
---|---|
File Extension | .cjs |
Format | Text |
Created by | Kevin Dangoor |
Category | Developer |
.cjs is CommonJS Code File
Features | Description |
---|---|
File Extension | .cjs |
Format | Text |
Created by | Kevin Dangoor |
Category | Developer |
A CJS file contains CommonJS code, which is code intended to allow JavaScript to be used in environments beyond a frontend web browser. It stores code in CommonJS syntax that can be opened and modified with any text editor.
CommonJS is a project that was originally started in 2009 by Kevin Dangoor, a Mozilla engineer, to expand the use of JavaScript. However, the Node.js JavaScript runtime environment made CommonJS obsolete as it became the preferred method to run JavaScript on the backend server-side of a website.