---
schema_version: "1"
id: 2ef5f3d6e18c1469e8e7abd5a2c546744ba3f3338dde4d2bcb3ed57980788a4c
title: JavaScript API
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/aura-platform/guides/aura/ref-jsapi/ref-jsapi-intro.md
canonical_url: https://developer.salesforce.com/docs/platform/aura-platform/guide/ref-jsapi-intro.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: ca66bfb6fd027556da90fa2a1cdee652f7914edc1f90e0cc77401821a0a3a7ce
products:
  - Lightning Aura Components Developer Guide
  - Platform Developer Content
---

# JavaScript API

The JavaScript API lists the publicly accessible methods for each object that you can use in JavaScript code, such as a controller or helper. The `$A` namespace is the entry point for using the framework in JavaScript code.

-   **[$A namespace](https://developer.salesforce.com/docs/platform/aura-platform/guide/ref-jsapi-dollara.md)**  


    The `$A` namespace is the entry point for using the framework in JavaScript code.

-   **[Action](https://developer.salesforce.com/docs/platform/aura-platform/guide/ref-jsapi-action.md)**  


    `Action` contains methods to work with JavaScript actions that you can use to communicate with Apex classes.

-   **[AuraLocalizationService](https://developer.salesforce.com/docs/platform/aura-platform/guide/ref-jsapi-auralocalizationservice.md)**  


    `AuraLocalizationService` provides methods for formatting and localizing dates. Use `$A.localizationService` to use the methods in `AuraLocalizationService`.

-   **[Component](https://developer.salesforce.com/docs/platform/aura-platform/guide/ref-jsapi-component.md)**  


    `Component` contains methods to work with components.

-   **[Event](https://developer.salesforce.com/docs/platform/aura-platform/guide/ref-jsapi-event.md)**  


    `Event` contains methods to work with events. Use an event to communicate between components.

-   **[Util](https://developer.salesforce.com/docs/platform/aura-platform/guide/ref-jsapi-util.md)**  


    `Util` contains utility methods.


