Install the package
No dependencies
Tempo uses the platform's
fetch, URL and AbortController, so it adds nothing else to your lockfile.TypeScript
Types ship with the package. Tempo needs "moduleResolution": "bundler" or "nodenext" in your tsconfig.json.
json
{ "compilerOptions": { "module": "esnext", "moduleResolution": "bundler", "strict": true }}From a CDN
html
<script type="module"> import { createClient } from "https://esm.sh/tempo-http@2";</script>