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

partscope

v0.1.2

Published

Minimal Three.js CAD review tool for inspecting STL assemblies with sections, explode views, and engineering overlays.

Readme

PartScope

PartScope is a small Three.js viewer for reviewing mechanical assemblies in the browser.

PartScope overview

Why

Most CAD review tools are either too heavy, too closed, or too tied to a larger system. PartScope keeps the job narrow:

  • inspect a mechanical assembly quickly
  • compare parts in context
  • check sections, edges, and exploded views
  • export common CAD/CAM handoff formats
  • keep the asset flow local and simple

Features

  • View presets for fast orientation
  • Exploded view and adjustable spin
  • Section cuts on X, Y, and Z
  • Edge, wireframe, x-ray, and grid overlays
  • Part selection, focus, and isolation
  • Movable and collapsible inspector palette
  • Fullscreen mode
  • CAD import for STL, OBJ, PLY, GLB, GLTF, and 3MF
  • CAD export for STL, OBJ, PLY, and GLB
  • CNC contour G-code export
  • Additive print package export with layer SVGs, contour JSON, source STL, manifest, README, and animated preview GIF
  • Bundled demo assemblies
  • Local CAD upload from file picker or drag and drop

PartScope section view

Quick Start

npm install
npm run dev

That starts the viewer with bundled demo assemblies, including the Sensor Puck in public/models/sensor_puck. Use the load control or drag supported CAD files onto the window to inspect local geometry without uploading it anywhere.

Bundled demos:

  • Sensor Puck: multi-part STL assembly
  • Boosted Remote: GLB scene model

Model Contract

The bundled Sensor Puck demo assembly is loaded from:

  • sensor_puck_base.stl
  • sensor_puck_battery_18650.stl
  • sensor_puck_main_board.stl
  • sensor_puck_mezz_connectors.stl
  • sensor_puck_mic_capsules.stl
  • sensor_puck_sensor_board.stl
  • sensor_puck_top.stl
  • sensor_puck_vibration_sensor.stl

Build

npm run build

Embedding

PartScope can be consumed as a package by host apps that serve the built viewer as static assets.

npm run build:embed
partscope-copy-assets public/tools/partscope

Then render the packaged iframe component from the host app:

import { PartScopeEmbed } from "partscope";

export function PartScopeDemo() {
  return <PartScopeEmbed className="h-full w-full" />;
}

Notes

  • The viewer stays separate from hardware generation scripts so the review surface can evolve independently.
  • Local uploads are parsed in the browser and are not sent to a server.