CommonJS

CommonJS is a project with the goal of specifying an ecosystem for JavaScript outside the browser (for example, on the server or for native desktop applications).

History

The project was started by Mozilla engineer Kevin Dangoor in January 2009 and initially named ServerJS.[1]

In August 2009, the project was renamed CommonJS to show the broader applicability of the APIs.[2] Specifications are created and approved in an open process. A specification is only considered final after it has been finished by multiple implementations.[3] CommonJS is not affiliated with the Ecma International group TC39 working on ECMAScript, but some members of TC39 participate in the project.[4]

In May 2013, Isaac Z. Schlueter, the author of npm, the package manager for Node.js, said CommonJS is being made obsolete by Node.js, and is avoided by the core Node.js developers.[5]

Specifications

The list of specifications includes:[6]

Current

  • 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

Proposals

  • 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

Implementations

See also

References

  1. 1 2 What Server Side JavaScript needs - Blue Sky On Mars
  2. CommonJS: JavaScript Standard Library
  3. ProposalProcess - CommonJS Spec Wiki
  4. CommonJS: the First Year - Blue Sky On Mars
  5. Schlueter, Isaac Z. (25 Mar 2013). "Forget CommonJS. It's dead. **We are server side JavaScript.**". GitHub.
  6. "JavaScript Standard Library". CommonJS. Retrieved 2012-09-21.
  7. Server-side JavaScript development and hosting - Akshell
  8. olegp/common-node @ GitHub
  9. - GitHub
  10. DrBenton/CommonJSForPHP - GitHub
  11. Implementations/CouchDB - CommonJS Spec Wiki
  12. Flusspferd - CommonJS platform | Javascript bindings for C
  13. Implementations/GPSEE - CommonJS Spec Wiki
  14. Implementations/Smart - CommonJS Spec Wiki
  15. Homepage - JSBuild Archived 2011-01-04 at the Wayback Machine.
  16. MongoDB
  17. Implementations/Narwhal - CommonJS Spec Wiki
  18. Implementations/node.js - CommonJS Spec Wiki
  19. Implementations/Persevere - CommonJS Spec Wiki
  20. pinf/loader-js - GitHub
  21. Implementations/RingoJS - CommonJS Spec Wiki
  22. SilkJS WWW Site
  23. Implementations/SproutCore - CommonJS Spec Wiki
  24. Implementations/TeaJS - CommonJS Spec Wiki
  25. Wakanda
  26. xuljet - XUL JavaScript Enhanced Toolkit - Google Project Hosting
  • Official website
  • "CommonJS effort sets JavaScript on path for world domination". Ars Technica. Dec 2009.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.