@apimatic/core
TypeScript icon, indicating that this package has built-in type declarations

0.10.5 • Public • Published

APIMatic Core Libary for JavaScript

This library is currently in preview.

Provides core http logic, file wrapper, api response and validation error classes.

This library is used by JavaScript SDKs generated by the APIMatic Code Generator.

Builds

The following environments are supported:

  1. Node.js v14+ and v16+
  2. Bundlers like Rollup or Webpack
  3. Web browsers

To support multiple environments, we export various builds:

Environment Usage
Common.js Import like this: require('@apimatic/core').
ES Module Import like this: import { /* your imports */ } from '@apimatic/core'.
Browsers *Use script: https://unpkg.com/@apimatic/core@VERSION/umd/core.js
Modern Browsers (supports ESM and uses modern JS) *Use script: https://unpkg.com/@apimatic/core@VERSION/umd/core.esm.js

* Don't forget to replace VERSION with the version number.

Note: We discourage importing files or modules directly from the package. These are likely to change in the future and should not be considered stable.

Readme

Keywords

none

Package Sidebar

Install

npm i @apimatic/core

Weekly Downloads

20,589

Version

0.10.5

License

MIT

Unpacked Size

142 kB

Total Files

69

Last publish

Collaborators

  • maryamadnan3
  • wajahatiqbal
  • apimaticdev
  • mehdi991