CommonJS
CommonJS — проект з метою визначити екосистему мови програмування JavaScript поза межами браузера (наприклад, серверний JavaScript або нативні застосунки). Проект був розпочатий Кевіном Дендором (Kevin Dangoor) у січні 2009 і спочатку називався ServerJS.[1]
![]() |
Те, про що я пишу тут — не технічна задача. Це об'єднує людей, це засіб зробити крок уперед, і це початок побудови чогось більшого та крутішого.
What I’m describing here is not a technical problem. It’s a matter of people getting together and making a decision to step forward and start building up something bigger and cooler together.[1] |
![]() |
— Kevin Dangoor |
У серпні 2009 проект був перейменований на CommonJS щоб показати ширше застосування специфікованого API.[2] Специфікація створювалася у відкритому до пропозицій процесі і приймалася голосуванням у поштовій розсилці. Специфікація тільки доді розглядалася як остаточна, коли вона була втілена у кількох реалізаціях CommonJS.[3] Проект CommonJS не філією групи TC39 Ecma International, яка працює над ECMAScript, але деякі члени TC39 беруть участь у проекті.[4]
Специфікація
Поточний стан проекту описаний у документі CommonJS: JavaScript Standard Library.
- Прийняті частини
- Modules/1.0 (Superseded by Modules/1.1)
- Modules/1.1
- Modules/1.1.1
- Packages/1.0
- Promises/B
- Promises/C
- System/1.0
- Пропозиції
- Binary/B
- Binary/F
- Console
- Encodings/A
- Filesystem/A
- Filesystem/A/0
- Modules/Async/A
- Modules/Transport/B
- Packages/1.1
- Packages/Mappings
- Unit Testing/1.0
Реалізації CommonJS
- Akshell[5]
- Common Node[6]
- CouchDB[7]
- Flusspferd[8]
- GPSEE[9]
- Joyent Smart Platform[10]
- Narwhal (JavaScript platform)[11]
- node.js[12]
- Persevere[13]
- RingoJS[14]
- SproutCore[15]
- v8cgi[16]
- MongoDB[17]
- JSBuild [18]
- XULJet [19]
- PINF JavaScript Loader [20]
Виноски
- ↑ а б What Server Side JavaScript needs - Blue Sky On Mars
- ↑ CommonJS: JavaScript Standard Library
- ↑ ProposalProcess - CommonJS Spec Wiki
- ↑ CommonJS: the First Year - Blue Sky On Mars
- ↑ Server-side JavaScript development and hosting - Akshell
- ↑ olegp/common-node @ GitHub
- ↑ Implementations/CouchDB - CommonJS Spec Wiki
- ↑ Flusspferd - CommonJS platform | Javascript bindings for C
- ↑ Implementations/GPSEE - CommonJS Spec Wiki
- ↑ Implementations/Smart - CommonJS Spec Wiki
- ↑ Implementations/Narwhal - CommonJS Spec Wiki
- ↑ Implementations/node.js - CommonJS Spec Wiki
- ↑ Implementations/Persevere - CommonJS Spec Wiki
- ↑ Implementations/RingoJS - CommonJS Spec Wiki
- ↑ Implementations/SproutCore - CommonJS Spec Wiki
- ↑ Implementations/v8cgi - CommonJS Spec Wiki
- ↑ MongoDB
- ↑ Homepage - JSBuild
- ↑ xuljet - XUL JavaScript Enhanced Toolkit - Google Project Hosting
- ↑ pinf/loader-js - GitHub
Посилання
- Сайт CommonJS
- CommonJS effort sets JavaScript on path for world domination (стаття на Ars Technica) (англ.)
Дивись також
- Document Object Model — браузерний клієнтський API, загальнодоступний у JavaScript