🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@sebspark/openapi-client

Package Overview
Dependencies
Maintainers
3
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sebspark/openapi-client

A typed REST client for the definitions from openapi-typegen

latest
Source
npmnpm
Version
4.2.16
Version published
Weekly downloads
754
-20.3%
Maintainers
3
Weekly downloads
 
Created
Source

@sebspark/openapi-client

A typed REST client for the definitions from openapi-typegen

Usage

Install

yarn add @sebspark/openapi-client`

or

npm install @sebspark/openapi-client`

Generate client type

Use @sebspark/openapi-typegen

Code

import { TypedClient } from '@sebspark/openapi-client'
import { MarketdataClient } from './schemas/marketdata'

const client = TypedClient<MarketdataClient>(`https://example.com/api`)
const {data} = await client.get('/markets')

Example

Example can be found in @sebspark/openapi-e2e

FAQs

Package last updated on 22 Jun 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