You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeScript Core SDK for Contentstack - A foundational library providing core modules and utilities for Contentstack TypeScript SDKs.
6
+
7
+
## About Contentstack
3
8
4
9
Contentstack is a headless CMS with an API-first approach. It is a CMS that developers can use to build powerful cross-platform applications in their favorite languages. Build your application frontend, and Contentstack will take care of the rest. [Read More](https://www.contentstack.com/).
5
10
6
-
### Prerequisite
11
+
##Description
7
12
8
-
You need Node.js version 4.4.7 or later installed to use the Contentstack TS Core SDK.
13
+
This package contains core modules and utilities used by the [Contentstack TypeScript Delivery SDK](https://github.com/contentstack/contentstack-javascript/). It provides essential functionality including HTTP client configuration, error handling, request management, parameter serialization, and retry policies.
9
14
10
-
## Installation
15
+
## Features
11
16
12
-
```
17
+
-**HTTP Client**: Configurable Axios-based HTTP client with support for custom adapters
18
+
-**Error Handling**: Comprehensive error classes for API and Contentstack-specific errors
19
+
-**Request Management**: Request handling with interceptors and custom error callbacks
20
+
-**Parameter Serialization**: Custom parameter serialization for API requests
21
+
-**Retry Policies**: Built-in retry logic for handling rate limits and transient errors
22
+
-**TypeScript Support**: Full TypeScript definitions included
23
+
-**Multiple Build Formats**: Supports CommonJS, ESM, UMD, and TypeScript declarations
24
+
25
+
## Important Note
26
+
27
+
**This package is an internal dependency** used by Contentstack TypeScript SDKs. End users should **not** install this package directly. Instead, install the appropriate Contentstack SDK (e.g., [Contentstack TypeScript Delivery SDK](https://github.com/contentstack/contentstack-typescript/)), which will automatically include this package as a dependency.
28
+
29
+
## For SDK Developers
30
+
31
+
If you are developing or maintaining a Contentstack SDK and need to use this core package directly, you can install it as a dependency:
32
+
33
+
```bash
13
34
npm install @contentstack/core
14
35
```
15
36
16
-
## Use case
37
+
Then import the modules:
17
38
18
-
This package contains some core modules and utilities used by the [Contentstack Typescript Delivery SDK](https://github.com/contentstack/contentstack-javascript/) SDK.
0 commit comments