CommonJS (Javascript:not just for browsers any more!)

Source: Internet
Author: User

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 is useful for building browser-based application S. However, the spec does not define a standard library, which is useful for building a broader range of applications.

The CommonJS API would fill that gap by defining APIs that handle many common application needs, ultimately providing a STA Ndard Library as rich as those of Python, Ruby and Java. The intention is, an application developer would be able to write a application using the CommonJS APIs and then run T Hat 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)

CommonJS (Javascript:not just for browsers any more!)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.