{"library":"trimble-connect-workspace-api","type":"library","category":null,"description":"The Trimble Connect Workspace API facilitates interaction between client applications and the Trimble Connect Web application, including the 3D Viewer. It primarily uses `window.postMessage()` for secure communication, allowing for two main integration patterns: embedding Trimble Connect Web Modules or the 3D Viewer within an `iframe` in a client application, or embedding the client application itself as an extension within Trimble Connect Web or the 3D Viewer. This library, currently at version 0.3.34, is actively maintained, with release notes and updates frequently published by Trimble. Its key differentiator is providing a standardized, type-safe interface for programmatic control and data exchange within the Trimble Connect ecosystem, abstracting the complexities of cross-origin `postMessage` communication.","language":"javascript","status":"active","version":"0.3.34","tags":["javascript","trimble","trimbleconnect","connect","workspace","3dviewer","web3d","api","3d","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install trimble-connect-workspace-api","imports":["import * as WorkspaceAPI from 'trimble-connect-workspace-api';\nconst api = await WorkspaceAPI.connect(window.parent);","import { WorkspaceAPI } from 'trimble-connect-workspace-api';","import { ExtensionAPI } from 'trimble-connect-workspace-api';"]},{"cmd":"yarn add trimble-connect-workspace-api","imports":[]},{"cmd":"pnpm add trimble-connect-workspace-api","imports":[]}],"homepage":"https://connect.trimble.com","github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/trimble-connect-workspace-api","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/trimble-connect-workspace-api/compatibility"}}