Sign In

@framedash/api-client

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@framedash/api-client

Shared REST API client for the Framedash Developer Platform. Used by `@framedash/cli` and `@framedash/mcp-server`.

Source
npmnpm
Version
0.1.3
Version published
Weekly downloads
9
-73.53%
Maintainers
1
Weekly downloads
 
Created
Source

@framedash/api-client

Shared REST API client for the Framedash Developer Platform. Used by @framedash/cli and @framedash/mcp-server.

Exports

  • ApiClient — HTTP client with project-scoped request helpers, automatic error handling, and 30s timeout
  • ApiError — Typed error with status and headers for structured error handling

Usage

import { ApiClient, ApiError } from "@framedash/api-client";

const client = new ApiClient({
  baseUrl: "https://app.framedash.dev",
  apiKey: "fd_...",
  projectId: "uuid",
  onError: (err: ApiError) => {
    throw err;
  },
});

// Project-scoped request
const data = await client.get(client.projectPath("analytics/dashboard"));

// Switch project context
const other = client.withProject("other-uuid");

Build

pnpm --filter @framedash/api-client build

FAQs

Package last updated on 05 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts