# @kentico/kontent-core

> Core package with shared / common functionality for Kentico Kontent SDKs

Latest version **9.5.0** (published 2022-03-23) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @kentico/kontent-core
pnpm add @kentico/kontent-core
yarn add @kentico/kontent-core
bun add @kentico/kontent-core
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 9.5.0 |
| Published | 2022-03-23 |
| First published | 2019-09-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >= 8 |
| Dependencies | 1 |
| Unpacked size | 1.6 MB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 4 |
| Author | richard sustek |
| Maintainers | simply007, enngage, janck, kentico_tomasw, jirik, vladislavb-kentico, xp-peterp, honzabarton, hom3r, martins1, xperience-npmjs-publisher |
| Keywords | Kentico SDK, Kentico Kontent |

## Links

- npm: https://www.npmjs.com/package/@kentico/kontent-core
- Repository: https://github.com/Kentico/kontent-core-js
- Homepage: https://github.com/Kentico/kontent-core-js#readme
- Issues: https://github.com/Kentico/kontent-core-js/issues
- npm.io page: https://npm.io/package/@kentico/kontent-core

## Dependencies (1)

- [axios](https://npm.io/package/axios.md) 0.26.1

## Recent versions

- 9.5.0 (latest) — 2022-03-23
- 9.0.0-next.2 (next) — 2021-05-03
- 9.4.0 — 2021-11-29
- 8.2.0 — 2021-11-29
- 9.3.0 — 2021-11-02
- 9.2.0 — 2021-09-24
- 9.1.0 — 2021-08-12
- 9.0.1 — 2021-06-15
- 9.0.0 — 2021-06-09
- 9.0.0-next.1 — 2021-05-03
- 9.0.0-next.0 — 2021-05-03
- 8.1.0 — 2021-01-08
- 8.0.0 — 2020-11-23
- 7.2.0 — 2020-09-25
- 7.1.0 — 2020-08-25
- … 15 more at https://npm.io/package/@kentico/kontent-core/versions

## README

[![npm version](https://badge.fury.io/js/%40kentico%2Fkontent-core.svg)](https://badge.fury.io/js/%40kentico%2Fkontent-core)
[![Build & Test](https://github.com/Kentico/kontent-core-js/actions/workflows/integrate.yml/badge.svg)](https://github.com/Kentico/kontent-core-js/actions/workflows/integrate.yml)
[![CircleCI](https://circleci.com/gh/Kentico/kontent-core-js/tree/master.svg?style=svg)](https://circleci.com/gh/Kentico/kontent-core-js/tree/master)
[![npm](https://img.shields.io/npm/dt/@kentico/kontent-core.svg)](https://www.npmjs.com/package/@kentico/kontent-core)
[![Known Vulnerabilities](https://snyk.io/test/github/Kentico/kontent-core-js/badge.svg)](https://snyk.io/test/github/kentico/kontent-core-js)
[![GitHub license](https://img.shields.io/github/license/Kentico/kontent-core-js.svg)](https://github.com/Kentico/kontent-core-js)
[![](https://data.jsdelivr.com/v1/package/npm/@kentico/kontent-core/badge)](https://www.jsdelivr.com/package/npm/@kentico/kontent-core)


# Core package

This package contains core functionality used by dependant Kentico Kontent sdks such as Delivery or Content Management.

# Testing

If you want to inject testing service as an implementation of [IHttpService](lib/http/ihttp.service.ts), it is possible to use configurable [Test Http Service](lib/http/test-http.service.ts).

```js
import { TestHttpService } from '@kentico/kontent-core';

const client = new /*(Delivery/Management)*/Client() {
    // ...
    httpService: new TestHttpService({
        fakeResponseJson: json,
        throwError: false
    });
}
```

---
_Source: https://npm.io/package/@kentico/kontent-core · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
