This package has been deprecated

Author message:

Package has been renamed to @kontent-ai/core-sdk. Please update your code to use the latest version.

@kentico/kontent-core
TypeScript icon, indicating that this package has built-in type declarations

9.5.0 • Public • Published

npm version Build & Test CircleCI npm Known Vulnerabilities GitHub license

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, it is possible to use configurable Test Http Service.

import { TestHttpService } from '@kentico/kontent-core';

const client = new /*(Delivery/Management)*/Client() {
    // ...
    httpService: new TestHttpService({
        fakeResponseJson: json,
        throwError: false
    });
}

Package Sidebar

Install

npm i @kentico/kontent-core

Weekly Downloads

4,637

Version

9.5.0

License

MIT

Unpacked Size

1.71 MB

Total Files

202

Last publish

Collaborators

  • martins1
  • xperience-npmjs-publisher