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

@vived/component-abb-6700

v1.2.0

Published

ABB 6700 — VIVED Smart Component

Readme

@vived/component-ABB6700

ABB 6700 — VIVED Smart Component

A reusable 3D robot arm component for VIVED slide apps. Provides domain logic (entities, presentation managers) and a Babylon.js view for a 6-DOF robot arm with independently controllable joint angles (J1–J6).

Installation

npm install @vived/component-ABB6700

Peer dependencies:

  • @babylonjs/core ^9.0.0
  • @vived/core ^2.0.0

Usage

import {
  makeABB6700FeatureFactory,
  ABB6700Repo,
  ABB6700Entity,
  makeABB6700BabylonView,
} from "@vived/component-ABB6700";
import { Angle, makeAppObjectRepo, makeDomainFactoryRepo } from "@vived/core";

// Setup
const appObjects = makeAppObjectRepo();
const domainFactoryRepo = makeDomainFactoryRepo(appObjects);
makeABB6700FeatureFactory(appObjects);
domainFactoryRepo.setupDomain();

// Create an instance
const repo = ABB6700Repo.get(appObjects)!;
repo.createABB6700Entity("arm-1");

// Create and bind the Babylon.js view
const ao = appObjects.getOrCreate("arm-1");
const view = makeABB6700BabylonView(ao);
await view.setupView();
view.bindMeshes(loadedMeshes); // meshes from your GLB loader

// Control joints
const entity = ABB6700Entity.getById("arm-1", appObjects)!;
entity.j1 = Angle.FromDegrees(45);
entity.j2 = Angle.FromDegrees(90);

Development

npm install
npm run dev              # Vite dev server with 3D playground
npm run dev:watch        # Watch mode library rebuild
npm run test             # Run unit tests
npm run lint             # ESLint
npm run build            # Production build

Asset Upload Script

A reusable CLI script for uploading asset files (GLB models, textures, etc.) to the VIVED Asset System.

Prerequisites

  • Node.js 18+
  • A VIVED account with API access

Commands

Create a new asset:

npm run upload-asset -- create <filePath>

Uploads the file and creates a new asset record. Prints the new asset ID to stdout.

Update an existing asset's file:

npm run upload-asset -- update <assetId> <filePath>

Uploads the file and updates the asset record to point to the new file.

Examples

# Upload the ABB6700 GLB as a new asset
npm run upload-asset -- create public/ABB6700.glb

# Update an existing asset with a new version of the file
npm run upload-asset -- update <asset-uuid> public/ABB6700.glb

After uploading

After creating a new asset, add the returned asset ID to src/component.config.ts:

assets: [
  { name: "default", id: "<asset-id>", file: "ABB6700.glb" },
],

How it works

  1. Reads the owner ID from package.json name field
  2. Derives the asset name from the filename (e.g. ABB6700.glbABB6700)
  3. Prompts interactively for VIVED credentials (email + password)
  4. Authenticates via AWS Cognito
  5. Uploads the file to VIVED storage via a signed URL
  6. Creates or updates the asset metadata record via the VIVED API

Progress and status messages are printed to stderr. The asset ID (on create) is printed to stdout, making it easy to capture in scripts:

ASSET_ID=$(npm run upload-asset -- create public/ABB6700.glb 2>/dev/null)