Socket
Book a DemoInstallSign in
Socket

@commercetools-connect/sdk

Package Overview
Dependencies
Maintainers
3
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commercetools-connect/sdk

TypeScript definitions and SDK for commercetools Connect API

latest
npmnpm
Version
0.0.7
Version published
Maintainers
3
Created
Source

@commercetools-connect/sdk

Overview

This package is part of the commercetools Connect product suite.

Usage

This package is a dependency of the commercetools CLI and is used internally to provide necessary functionalities.

Installation

You do not need to install this package directly. It will be installed automatically when you install the main CLI package.

$ npm install -g @commercetools/cli

Generate the Client and Tests from connect API spec (RAML)

To generate the client source code, use the following npm script:

API_RAML_FILE=/path/to/spec npm run generate:src

To generate the client tests, use the following npm script:

API_RAML_FILE=/path/to/spec npm run generate:tests

After generating, some manual adjustments are required. The generated tests use Jest as the default test framework, but this repository uses Vitest. For details on the necessary changes, please contact the Connect team.

License

This package is licensed under the MIT License.

FAQs

Package last updated on 08 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts