---
title: "PebbleKit JavaScript Documentation"
canonical_url: https://developer.repebble.com/docs/pebblekit-js/
last_updated: 2026-10-11
sdk_version: 4.33.1
---
# PebbleKit JavaScript Documentation

Source: https://developer.repebble.com/docs/pebblekit-js/

PebbleKit JS is a JavaScript component of the Pebble SDK which runs within the Pebble mobile application. It provides access to GPS, storage and Internet connectivity to applications running on Pebble smartwatches.

 Want to create apps or faces for Pebble written entirely in JS? For that, use [Alloy](https://developer.repebble.com/guides/alloy.md). 

The PebbleKit JS API is provided via the `Pebble` namespace:

* * *

#### [Pebble](https://developer.repebble.com/docs/pebblekit-js/Pebble.md)

* * *

PebbleKit JS also provides access to the following standard JS functionality:

- [WebSockets](https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API)
- [XMLHttpRequest](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest)
- [Geolocation](https://developer.mozilla.org/en-US/docs/Web/API/Geolocation)
- [LocalStorage](https://developer.mozilla.org/en-US/docs/Web/API/LocalStorage)
