@growupsell/api
v2.0.13
Published
Framework-agnostic HTTP client and types for Growupsell ecommerce APIs
Downloads
592
Readme
@growupsell/api
Framework-agnostic HTTP client and service helpers for Growupsell ecommerce APIs.
Install
npm i @growupsell/apiQuick start
import { createGrowupsellApiClient } from '@growupsell/api';
const client = createGrowupsellApiClient({
baseURL: 'https://your-api.example.com',
});
const { data } = await client.raw.get('/health');
console.log(data);Exports
@growupsell/api- root exports@growupsell/api/api- service helpers@growupsell/api/interface- shared types/interfaces@growupsell/api/utils- utility helpers
Notes
- Built as ESM + CJS bundles.
- Uses
axiosunder the hood.
