> For the complete documentation index, see [llms.txt](https://docs.viverse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.viverse.com/developer-tools/javascript.md).

# JavaScript

- [Login & Authentication SDK](https://docs.viverse.com/developer-tools/javascript/javascript-login.md): JavaScript login for PlayCanvas, three.js, and other browser JavaScript. For a Unity game, use the current VIVERSE Unity SDK for C#. Do not use this JavaScript SDK or a .jslib.
- [PlayCanvas Login & Auth minimal example](https://docs.viverse.com/developer-tools/javascript/javascript-login/playcanvas-login-and-auth-minimal-example.md): Learn how to add VIVERSE login and authentication features into your standalone PlayCanvas game
- [three.js Login & Auth minimal example](https://docs.viverse.com/developer-tools/javascript/javascript-login/three.js-login-and-auth-minimal-example.md): Learn how to clone a three.js example project then import the VIVERSE SDK to add login and authentication features
- [Javascript ADS](https://docs.viverse.com/developer-tools/javascript/javascript-ads.md): Add mid-roll and rewarded ads to a JavaScript web game on VIVERSE with the VIVERSE Ad SDK. Covers setup, cooldowns, pausing gameplay, and granting rewards.
- [Avatar SDK](https://docs.viverse.com/developer-tools/javascript/avatar-sdk.md): JavaScript avatars for PlayCanvas, three.js, and other browser JavaScript. For a Unity game, use the current VIVERSE Unity SDK for C#. Do not use this JavaScript SDK or a .jslib.
- [Leaderboard SDK](https://docs.viverse.com/developer-tools/javascript/javascript-leaderboard.md): JavaScript leaderboards for PlayCanvas, three.js, and other browser JavaScript. For a Unity game, use the current VIVERSE Unity SDK for C#. Do not use this JavaScript SDK or a .jslib.
- [PlayCanvas Leaderboard minimal example](https://docs.viverse.com/developer-tools/javascript/javascript-leaderboard/playcanvas-leaderboard-minimal-example.md): Learn how to combine the VIVERSE Leaderboard SDK with PlayCanvas UI then publish the project via VIVERSE Studio
- [Matchmaking & Networking SDK](https://docs.viverse.com/developer-tools/javascript/matchmaking-and-networking-sdk.md): JavaScript matchmaking and multiplayer for PlayCanvas, three.js, and other browser JavaScript. For a Unity game, use the current VIVERSE Unity SDK for C#. Do not use this JavaScript SDK or a .jslib.
- [PlayCanvas Matchmaking example: Part 01 - Basics](https://docs.viverse.com/developer-tools/javascript/matchmaking-and-networking-sdk/playcanvas-matchmaking-example-part-01-basics.md): Learn how to start with VIVERSE Play SDK and implement Matchmaking basics for your standalone PlayCanvas project
- [PlayCanvas Matchmaking example: Part 02 - Advanced](https://docs.viverse.com/developer-tools/javascript/matchmaking-and-networking-sdk/playcanvas-matchmaking-example-part-02-advanced.md): Learn how to integrate VIVERSE Play SDK Matchmaking into your standalone PlayCanvas project using async state flow and PlayCanvas UI system.
- [PlayCanvas Networking example: Part 01 - Basics](https://docs.viverse.com/developer-tools/javascript/matchmaking-and-networking-sdk/playcanvas-networking-example-part-01-basics.md): Learn how to start with VIVERSE Play SDK and implement Networking basics for your standalone PlayCanvas project
- [PlayCanvas Networking example: Part 02 - Advanced](https://docs.viverse.com/developer-tools/javascript/matchmaking-and-networking-sdk/playcanvas-networking-example-part-02-advanced.md): Learn how to integrate VIVERSE Play SDK Networking into your standalone PlayCanvas project using global state, data flow and snapshot system
- [Storage SDK](https://docs.viverse.com/developer-tools/javascript/javascript-storage.md): JavaScript cloud save for PlayCanvas, three.js, and other browser JavaScript. For a Unity game, use the current VIVERSE Unity SDK for C#. Do not use this JavaScript SDK or a .jslib.
- [PlayCanvas Storage minimal example](https://docs.viverse.com/developer-tools/javascript/javascript-storage/playcanvas-storage-minimal-example.md): Learn how to combine the VIVERSE Storage SDK with PlayCanvas UI then publish the project via VIVERSE Studio
- [three.js Storage minimal example](https://docs.viverse.com/developer-tools/javascript/javascript-storage/three.js-storage-minimal-example.md): Learn how to extend our three.js driving project with the VIVERSE Storage SDK to add persistent data
- [Change Log](https://docs.viverse.com/developer-tools/javascript/changelog.md): Explore development history of VIVERSE SDKs and refer to particular versions when necessary
- [November 2025](https://docs.viverse.com/developer-tools/javascript/changelog/2025-11.md)
- [v1.3.3 - November 20](https://docs.viverse.com/developer-tools/javascript/changelog/2025-11/v1.3.3.md)
- [September 2025](https://docs.viverse.com/developer-tools/javascript/changelog/2025-09.md)
- [v1.3.2 - September 3](https://docs.viverse.com/developer-tools/javascript/changelog/2025-09/v1.3.2.md)
- [August 2025](https://docs.viverse.com/developer-tools/javascript/changelog/2025-08.md)
- [v1.3.1 - August 18](https://docs.viverse.com/developer-tools/javascript/changelog/2025-08/v1.3.1.md)
- [v1.3.0 - August 4](https://docs.viverse.com/developer-tools/javascript/changelog/2025-08/v1.3.0.md)
- [May 2025](https://docs.viverse.com/developer-tools/javascript/changelog/2025-05.md)
- [v1.2.9](https://docs.viverse.com/developer-tools/javascript/changelog/2025-05/v1.2.9.md)
- [v1.2.8](https://docs.viverse.com/developer-tools/javascript/changelog/2025-05/v1.2.8.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.viverse.com/developer-tools/javascript.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
