From CommonJS Spec Wiki
Jump to: navigation, search

Welcome to CommonJS, a group with a goal of building up the JavaScript ecosystem for web servers, desktop and command line apps and in the browser.

This wiki is a starting point for collecting up ideas, any draft API suggestions for the CommonJS group. Discussions occur on that mailing list and on IRC (#commonjs on freenode).



Current Efforts

This is a list of issues currently being discussed / standardized. They come from the "Low level" department, as we need to have solid basics prior to building a tower.

  1. Uniform Baseline / Globals (discussion)
  2. Modules (1.1.1)
    1. binary: Binary Data Objects (byte arrays and/or strings) (proposals, discussion, early implementations)
    2. encodings: Encodings and character sets (proposals, discussion, early implementations)
    3. io: I/O Streams (proposals, discussion)
    4. fs, fs-base: Filesystem (proposals, discussion, early implementations)
    5. system: System Interface (stdin, stdout, stderr, &c) (1.0, amendments proposed)
    6. assert, test: Unit Testing (1.0, amendment proposals pending)
    7. sockets: Socket I/O TCP/IP sockets (early proposals)
    8. event-queue: Reactor Reactor/Event Queue (early proposals)
    9. worker: Worker Worker (concurrent shared nothing process/thread) (proposal)
    10. console: console (proposal)
  3. Packages (1.0)
  4. Package Mappings (proposal)
  5. Web Server Gateway Interface (JSGI) (proposals, discussion, early implementations)
  6. Promises (proposal)

Future Efforts

Low-level APIs

This is the collection of APIs that we'd like to see behaving consistently across JavaScript interpreters.

High-level APIs

This is the collection of APIs that implement common functionality on top of the low-level API.


Implementations Standards Proposals and standards in development
Modules/1.0 Modules/1.1 Modules/1.1.1 Packages/1.0 System/1.0 Binary/B Binary/F Console Encodings/A Filesystem/A Filesystem/A/0 HTTP Client/B IO/A Modules/Async/A Modules/AsynchronousDefinition Modules/LoaderPlugin Modules/Transport/C Modules/Transport/D Modules/Transport/E Modules/Wrappings Modules/Wrappings-Explicit-Dependencies Packages/1.1 Packages/Mappings/C Promises/B Promises/D Unit Testing/1.0 Unit Testing/1.0.1

ArangoDB yes yes yes
CommonScript yes yes
CouchDB yes yes
Ejscript 2.x
Flusspferd yes 0.9 yes yes yes yes yes
FlyScript yes yes yes
GLUEscript yes
GPSEE yes yes yes yes yes
JSBuild yes yes
Narwhal 0.1 0.2 0.2 0.5 0.2
Narwhal on JSC 0.2 0.2
Narwhal on Node 0.5 0.5 0.5 0.5
Narwhal on Rhino 0.2 0.2 draft 4 in 0.1 8a45686
Nodules yes
PINF JS Loader yes yes yes yes
Persevere yes  ?
RequireJS yes yes
RingoJS yes yes yes yes minus globbing yes yes yes
SeaJS yes yes
SilkJS yes
Smart Platform yes
SproutCore 1.1/Tiki yes  ? yes yes
TeaJS (formerly v8cgi) yes yes yes yes yes yes yes
Wakanda yes yes yes partial partial yes yes
XULJet yes
Yabble yes yes yes yes yes
Common Node yes yes yes yes yes
curl.js yes yes
node.js yes yes
sorrow.js yes yes permissions as integers

In development


Further Reading


Personal tools