javascript: not just for browsers any more!


JavaScript is a powerful object oriented language with some of the fastest dynamic language interpreters around. The official JavaScript specification defines APIs for some objects that are useful for building browser-based applications. However, the spec does not define a standard library that is useful for building a broader range of applications.

The CommonJS API will fill that gap by defining APIs that handle many common application needs, ultimately providing a standard library as rich as those of Python, Ruby and Java. The intention is that an application developer will be able to write an application using the CommonJS APIs and then run that application across different JavaScript interpreters and host environments. With CommonJS-compliant systems, you can use JavaScript to write:

  • Server-side JavaScript applications
  • Command line tools
  • Desktop GUI-based applications
  • Hybrid applications (Titanium, Adobe AIR)

Read an additional introduction by Kris Kowal at Ars Technica.

More information about CommonJS

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