Sign In

@mdedit/sdk

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mdedit/sdk

Official JavaScript SDK for mdedit.ai (authenticated API client).

Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
246
146%
Maintainers
1
Weekly downloads
 
Created
Source

@mdedit/sdk

Official JavaScript SDK for mdedit.ai.

This package is designed for authenticated usage: all API access depends on your backend enforcing auth/authz.

Install

npm install @mdedit/sdk

Usage

import { createSdkClient } from '@mdedit/sdk';

const client = createSdkClient({
  baseUrlV2: 'https://apiv2.mdedit.ai/api',
  getAuthHeaders: async () => ({
    'x-api-key': process.env.MDEDIT_API_KEY!,
  }),
});

const workspaces = await client.workspace.list();

Error handling

SDK methods throw FetchError for HTTP errors (includes status).

Semver strategy

Current major version is 0 (pre-1.0.0).

  • 0.x minor versions may include breaking changes.
  • 0.x patch versions are reserved for backwards-compatible fixes.

FAQs

Package last updated on 11 Apr 2026

Related posts