DeepAffex™ Cloud API JavaScript Client Library


The DeepAffex™ Cloud API JavaScript Client Library is designed for JavaScript client-application developers. It offers simple, flexible access to many DeepAffex APIs.


The main way that we ship our DeepAffex™ Cloud API code to NPM is as ECMAScript modules with ECMAScript 2022, the 13th edition syntax. This allows developers to take advantage of modern JavaScript features and have greater control over what they ship to their end users.

You can use either of the following methods to add the library to your project:

Package managers

# yarn
yarn add

# npm
npm install

Once added, then you can use it like this:

DeepAffex API JavaScript Client Library

Script tag

You can load them from popular CDNs such as skypack, JsDelivr and Unpkg.

    <script type="module">
        import client from '';
        const apiClient = client();

        const response = await apiClient.http.general.status();
        const { status, body } = response;
        if (status === '200') console.log(body.Version);