Socket
Book a DemoInstallSign in
Socket

@apimatic/core

Package Overview
Dependencies
Maintainers
6
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apimatic/core

This package provides the core HTTP request orchestration, response handling, and API call coordination.

latest
Source
npmnpm
Version
0.10.28
Version published
Weekly downloads
93K
25.53%
Maintainers
6
Weekly downloads
 
Created
Source

APIMatic Core Library for JavaScript SDKs

This package provides the core HTTP request orchestration, response handling, and API call coordination.

The exported functionality includes:

  • Request Building: Create fully-configured HTTP requests with dynamic URL construction, query serialization, header management, and support for multiple body formats including JSON, XML, form data, and file uploads.
  • Request Adapters: Utilities to convert incoming requests, such as Express.js requests, into core HttpRequest objects.
  • Authentication Integration: Seamlessly incorporate API key, bearer token, and custom authentication schemes into request execution.
  • Response Processing: Validate and transform API responses into strongly-typed objects, with support for JSON, XML, text, and streams.
  • Interceptor System: Extend request/response pipelines with authentication injection, retry strategies, logging, and schema-based validation.
  • Error Management: Handle and classify API errors with detailed request/response context, including validation and HTTP-specific errors.
  • Utility Functions: Common helpers for path templating, query string handling, file streaming, and secure logging.

This library is used by JavaScript SDKs generated by the APIMatic Code Generator. For details on supported platforms and build artifacts, see the Build and Usage Section.

FAQs

Package last updated on 04 Nov 2025

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