telemetry-sh-js
v0.1.4
Published
Minimal client-side helper library for sending Telemetry.sh events
Downloads
4
Readme
telemetry-sh.js
Example Usage
Replace sk_xxxxxxx
with your API Key.
<script>window.TELEMETRY_API_KEY = "sk_xxxxxxx";</script>
<script src="./index.js"></script>
JSDelivr
<script>window.TELEMETRY_API_KEY = "sk_xxxxxxx";</script>
<script src="https://cdn.jsdelivr.net/npm/telemetry-sh-js@latest"></script>
Installation (as a module)
npm install telemetry-sh-js -s
Note: Node.js users should consider the Official Library -- this includes helpers primarily for client-side usage.