Skip to content

dreitzner/kontent-ai-core-sdk-js

 
 

Repository files navigation

npm version Build & Test npm Known Vulnerabilities GitHub license

Core package

This package contains core functionality used by dependant Kontent.ai SDKs such as Delivery SDK or Management SDK.

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 '@kontent-ai/core-sdk';

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 79.1%
  • JavaScript 20.9%