Back to Puter

puter.appID

src/docs/src/Utils/appID.md

26.07424 B
Original Source

A property of the puter object that returns the App ID of the running application.

Syntax

js
puter.appID

Examples

<strong class="example-title">Get the ID of the current application</strong>

<div style="position: relative;">
html
<html>
  <body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
      puter.print("App ID: " + puter.appID);
    </script>
  </body>
</html>
</div>