JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 244199
  • Score
    100M100P100Q196801F
  • License ISC

converts the content to stream

Package Exports

  • @apimatic/convert-to-stream
  • @apimatic/convert-to-stream/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@apimatic/convert-to-stream) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

APIMatic Convert-to-Stream Library for JavaScript SDKs

This package provides utility functions to convert data between strings, Node.js streams, and browser Blob objects. It supports both Node.js and browser environments with automatic platform-specific handling.

The exported functionality includes:

  • Cross-Platform Stream Conversion: Automatically detects the runtime environment to convert data between Node.js streams and browser Blob objects.
  • Bidirectional Data Conversion: Enables conversion between strings, streams, and blobs for flexible and seamless data handling.

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.