> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# JavaScript SDK

> Overview of the PlayFab JavaScript SDK for web development and browser games, available via GitHub, CDN, or the playfab-web-sdk NPM package.

<img src="https://mintcdn.com/microsoft-4404708b/N3T1ucKV7zIMBudj/images/playfab/sdks/javascript/javascript1.png?fit=max&auto=format&n=N3T1ucKV7zIMBudj&q=85&s=07e0577e0c5a6f8271bd066da9356cc1" alt="JavaScript" width="800" height="250" data-path="images/playfab/sdks/javascript/javascript1.png" />

Our JavaScript SDK provides everything you need to access the PlayFab API. This includes models, methods, an HTTP wrapper for sending and receiving web requests, and JSON serialization.

This SDK is auto-generated using our open-sourced tool—[SDKGenerator](/services/playfab/sdks/sdkgenerator). We generally build SDKs every other week to stay current with the latest API changes.

There are several methods to get this SDK. One method is to use our Content Delivery Network (CDN). For more details, see our blogpost about [JavaScript SDK via CDN](https://playfab.com/playfab-now-serving-javascript-sdk-via-cdn/).

Alternatively, you can also obtain this SDK via NPM using the command `npm install playfab-web-sdk`.

## Download links

* [JavaScript PlayFab SDK GitHub repo](https://github.com/PlayFab/JavaScriptSDK)
* [Quick download link for JavaScript PlayFab SDK](https://aka.ms/playfabjavascriptsdkdownload)
* [Install SDK via NPM](https://www.npmjs.com/package/playfab-web-sdk): `npm install playfab-web-sdk`

## Licenses

* [Javascript licenses](/services/playfab/sdks/javascript/license)


## Related topics

- [JavaScript SDK licenses](/services/playfab/sdks/javascript/license.md)
- [JavaScript quickstart for Native and Phaser](/services/playfab/sdks/javascript/quickstart.md)
- [Server Anonymous Login Authentication](/services/playfab/identity/player-identity/platform-specific-authentication/anonymous-login.md)
- [Setting up PlayFab authentication using Facebook and HTML5](/services/playfab/identity/player-identity/platform-specific-authentication/facebook-html5.md)
- [PlayFab supported languages](/services/playfab/sdks/languages/index.md)
