JSPM

  • Created
  • Published
  • Downloads 214207
  • Score
    100M100P100Q168883F
  • License SEE LICENSE IN LICENSE.md

Package Exports

  • @apimatic/core
  • @apimatic/core/es/index.js
  • @apimatic/core/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/core) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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 v10+
  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.

License

© 2020 APIMatic Ltd. All Rights Reserved.

This library is meant to be used in SDKs generated by APIMatic Code Generator. Please get in touch with our support for more information on licensing.