Deta

June 15, 2021 ยท View on GitHub

An unofficial Deta.sh API client for Deno

Supported services

  • Base

Usage

Creating a new client

You can find your credentials in your Deta project settings.

import Deta from "https://deno.land/x/deta/mod.ts";

const deta = new Deta({
    projectId: "DETA_IS",
    projectKey: "VERY_COOL",
});

Using Base

const base = new deta.Base("users");

Supported functions

  • get
  • query
  • delete
  • update
  • insert

Contents

  1. 1Supported services
  2. 2Usage
  3. 2.1Creating a new client
  4. 2.2Using Base