--- # Copyright 2025 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. permalink: /feed.xml layout: docs title: PebbleKit JavaScript Documentation docs_language: 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.
The PebbleKit JS API is provided via the `Pebble` namespace:
{{ module.summary | markdownify }}
PebbleKit JS also provides access to the following standard JS functionality:
To learn more about how to use this part of the Pebble SDK, check out the {% guide_link communication/using-pebblekit-js "PebbleKit JS guide" %}, which also includes links to example apps.
You can also view the third part of the Create a C Watchface tutorial series for an example JS implementation.