javascript: not just for browsers any more!

Getting CommonJS

There are several implementations of the CommonJS standard, and you can choose the one that fits what you're trying to do.

CouchDB

http://couchdb.apache.org/

Engine(s)
SpiderMonkey
Author(s)
Mikeal
Implementations
Modules/1.0 (yes), Modules/1.1.1 (yes)

Ejscript

http://github.com/embedthis/ejs-2

Engine(s)
Ejscript
Author(s)
Mob
Implementations
Modules/1.1 (2.x)

Flusspferd

http://flusspferd.org/

Engine(s)
Spidermonkey/C++
Author(s)
Ash Berlin, Aristid Breitkreuz, Rüdiger Sonderfeld
Implementations
Binary/B (yes), Encodings/A (yes), Filesystem/A/0 (yes), Modules/1.0 (yes), Modules/1.1 (0.9), System/1.0 (yes), Unit Testing/1.0 (yes)

GPSEE

http://code.google.com/p/gpsee/

Engine(s)
SpiderMonkey/C
Author(s)
Wes Garland, Donny Viszneki
Implementations
Binary/B (yes), Filesystem/A/0 (yes), Modules/1.0 (yes), Modules/1.1 (yes), System/1.0 (yes)

Narwhal

http://github.com/tlrobinson/narwhal

Engine(s)
Rhino, v8, JSC
Author(s)
Tlrobinson, Kris Kowal
Implementations
Modules/1.0 (0.1), Modules/1.1 (0.2), Modules/1.1.1 (0.2), Promises/B (0.5), Unit Testing/1.0 (0.2)

Narwhal on JSC

http://github.com/280north/narwhal-jsc

Engine(s)
JSC
Author(s)
Tlrobinson
Implementations
Binary/B (0.2), System/1.0 (0.2)

Narwhal on Node

http://github.com/kriskowal/narwhal-node

Engine(s)
v8
Author(s)
Kris Kowal, Paul Baumgart
Implementations
Binary/B (0.5), Filesystem/A (0.5), Filesystem/A/0 (0.5), System/1.0 (0.5)

Narwhal on Rhino

http://github.com/tlrobinson/narwhal

Engine(s)
Rhino
Author(s)
Tlrobinson, Kris Kowal
Implementations
Binary/B (0.2), Filesystem/A (draft 4 in 0.1), Filesystem/A/0 (8a45686), System/1.0 (0.2)

Persevere

http://www.persvr.org/

Engine(s)
Rhino
Author(s)
Kriszyp
Implementations
Modules/1.0 (yes), Modules/1.1 (?)

RequireJS

http://requirejs.org

Engine(s)
web browsers, rhino
Author(s)
Implementations

RingoJS

http://ringojs.org/

Engine(s)
Rhino
Author(s)
Hannesw
Implementations
Binary/B (yes), Filesystem/A (minus globbing), Filesystem/A/0 (yes), Modules/1.0 (yes), Modules/1.1 (yes), System/1.0 (yes), Unit Testing/1.0 (yes)

Smart Platform

http://github.com/joyent/smart-platform/

Engine(s)
SpiderMonkey/C
Author(s)
Konobi, Joyent
Implementations
Modules/1.0 (yes)

SproutCore 1.1/Tiki

http://www.sproutcore.com/

Engine(s)
web browsers
Author(s)
CharlesJolley
Implementations
Modules/1.0 (yes), Modules/1.1 (?), System/1.0 (yes), Unit Testing/1.0 (yes)

Wakanda

http://www.wakandasoft.com

Engine(s)
JavaScriptCore/C++
Author(s)
Alexandre.Morgaut
Implementations
Console (yes), HTTP Client/B (yes), Modules/1.0 (yes), Modules/1.1 (yes), Modules/1.1.1 (yes), System/1.0 (yes), Unit Testing/1.0 (yes)

Yabble

http://github.com/jbrantly/yabble

Engine(s)
web browsers
Author(s)
Jbrantly
Implementations
Modules/1.0 (yes), Modules/1.1.1 (yes), Modules/Async/A (yes), Modules/Transport/C (yes), Modules/Transport/D (yes)

node.js

http://nodejs.org/

Engine(s)
v8
Author(s)
Ry
Implementations
Modules/1.0 (yes), Unit Testing/1.0 (yes)

v8cgi

http://code.google.com/p/v8cgi/

Engine(s)
v8
Author(s)
Ondřej Žára
Implementations
Binary/B (yes), Modules/1.0 (yes), Modules/1.1 (yes), System/1.0 (yes), Unit Testing/1.0 (yes)

V8 embedding written in C++. Aims for webpage development scenarios, high CommonJS compliance and ease of use.


Site Updates

  • // Formatting has been cleaned up around the site and on the Modules 1.0 page.
  • // This website has been replaced with a new one backed by the wiki so it can be edited by the whole commonjs community.
  • // We are no longer using the bulk 0.1 and 0.5 specification version numbers. Specs individually are marked as standards.

CommonJS Links