Skip to main content

Overview

@speckle/objectsender is a JavaScript/TypeScript package for sending Speckle objects to Speckle Server. It handles object serialization, transport, and version creation. Package: @speckle/objectsender on npm

Installation

npm install @speckle/objectsender

Quick Start

import { ObjectSender } from '@speckle/objectsender';

// Initialize sender
const sender = new ObjectSender(client, projectId);

// Send object
const objectId = await sender.sendObject(myObject);

Features

  • Send objects to Speckle Server
  • Handle object serialization
  • Create versions and commits
  • Support for large object hierarchies

Documentation

For complete documentation, examples, and API reference, visit the package on npm: View on npm →
This documentation is a stub. Full documentation coming soon. For now, refer to the npm package page for detailed usage examples and API documentation.