npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@transai/connector-runner-onshape

v0.11.1

Published

Onshape connector for the XOD platform. This connector enables integration with Onshape's REST API to automatically sync all accessible documents and supports upload/download/export operations for CAD files.

Readme

connector-runner-onshape

Onshape connector for the XOD platform. This connector enables integration with Onshape's REST API to automatically sync all accessible documents and supports upload/download/export operations for CAD files.

Features

  • Automatic Document Discovery: Automatically discovers and syncs all accessible documents from your Onshape account
  • Incremental Sync: Only processes documents that have been created or modified since the last sync
  • Element Extraction: Extracts metadata for parts, assemblies, drawings, and other CAD elements
  • Model Upload: Upload CAD models to Onshape
  • Model Download: Download models from Onshape
  • Model Export: Export models in various formats (STEP, IGES, STL, etc.)
  • File Management: Uses FilesSDK for file operations

Configuration

{
  "connectorType": "onshape",
  "config": {
    "baseUrl": "https://cad.onshape.com",
    "accessKey": "your-access-key",
    "secretKey": "your-secret-key",
    "datasourceIdentifier": "onshape-prod",
    "interval": 3600,
    "offsetFilePrefix": "onshape",
    "downloadDestination": "/data/onshape/downloads",
    "uploadDestination": "/data/onshape/uploads"
  }
}

Configuration Options

  • baseUrl - Onshape API base URL (default: https://cad.onshape.com)
  • accessKey - Your Onshape API access key
  • secretKey - Your Onshape API secret key
  • datasourceIdentifier - Unique identifier for this datasource
  • interval - How often to check for updates in seconds (default: 3600)
  • offsetFilePrefix - Prefix for offset tracking files (default: "onshape")
  • downloadDestination - Local path for downloaded files
  • uploadDestination - Local path for files to upload

How It Works

First Run

  1. Discovers all documents accessible to the authenticated user
  2. Fetches all workspaces and elements for each document
  3. Emits document and element metadata to the data pipeline

Subsequent Runs

  • Automatically checks for new or modified documents every interval seconds
  • Only processes documents that have changed since the last sync (incremental)
  • Continues to discover new documents as they are created

Building

Run nx build connector-runner-onshape to build the library.

Running unit tests

Run nx test connector-runner-onshape to execute the unit tests via Jest.