Socket
Book a DemoInstallSign in
Socket

@apimatic/file-wrapper

Package Overview
Dependencies
Maintainers
6
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apimatic/file-wrapper

This package provides utilities for wrapping files with metadata for HTTP requests.

latest
Source
npmnpm
Version
0.3.9
Version published
Maintainers
6
Created
Source

APIMatic File Wrapper Library for JavaScript SDKs

This package provides utilities for wrapping files with metadata for HTTP requests.

The exported classes and functions include:

  • File Wrapper Class: Encapsulates a file (Blob or stream) along with optional metadata such as MIME type, filename, and custom headers for multipart HTTP requests.
  • Type Guard for File Wrapper: Identifies if a given value is an instance of the File Wrapper class.
  • Deep Cloning: Creates a deep copy of a File Wrapper instance, including its metadata and headers.

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