Introduction

NPM versionopen in new window   Code Coverageopen in new window   Downloads  

The JS SDK provides an intuitive and powerful interface for the Heseya API from within your browser or Node.js application. The SDK uses Axiosopen in new window for transport, which could be customized to use authentication or other integrations.

TIP

SDK is framework-agnostic, you can use it with Vue, React and any JS library you like!

Features

  • All Heseya API endpoints are exposed as methods on the SDK object.
  • Full typing of all API responses and requests, as well as for the all Heseya models and enums.
  • Automatic conversion between JSON and native types.
  • Automatic handling request query parameters.
  • Support for custom Axiosopen in new window instance.
  • Helper functions and class for handling common tasks when creating e-commerce applications.

Instalation

You can install the package by running the following command:

yarn install @heseya/store-core
npm i @heseya/store-core