@docker/extension-api-client
TypeScript icon, indicating that this package has built-in type declarations

0.3.4 • Public • Published

@docker/extension-api-client

This package provides a client object that Docker Desktop extensions can use in their frontends to communicate with the wider application.

The full extensions SDK is in pre-release status, and currently only available to a limited set of partners. This package will be updated to link to the public SDK in a future version.

Installation

npm install @docker/extension-api-client

Example usage

import { createDockerDesktopClient } from '@docker/extension-api-client';

const ddClient = createDockerDesktopClient();

ddClient.desktopUI.toast.success('My extension works!');

Readme

Keywords

Package Sidebar

Install

npm i @docker/extension-api-client

Weekly Downloads

2,583

Version

0.3.4

License

Apache-2.0

Unpacked Size

1.85 kB

Total Files

4

Last publish

Collaborators

  • rossipedia-docker
  • crazymax
  • lucas.bernalte.docker
  • lizzthabet
  • gtardif
  • ebriney
  • jeanlaurent
  • serjkarneichyk
  • rumpl
  • mark-dr