Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/tpy/mod.ts>default#KV

🔑 A strongly typed Pylon API client.
Latest
method default.prototype.KV
import { default } from "https://deno.land/x/tpy@v1.0.0-RC/mod.ts";

Creates a new TpyKV instantiation, much like the Pylon SDK's KVNamespace class.

Parameters

namespace: string

The namespace to look under.

optional
deploymentID: string

The deployment ID to look under. If empty, the function will use the set Tpy.deploymentID in the class.