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

@ternion/t3d

v0.0.3

Published

T3D - A TypeScript 3D Engine Library for Digital Twins

Readme

CA Certificate Installation

If you're using MQTT over TLS/WSS connections with custom or self-signed certificates, you'll need to install the CA certificate to your operating system's trust store. This allows browsers and applications (including VS Code webviews) to trust certificates signed by that CA.

Manual Installation (Without CLI)

If you prefer to install the CA certificate manually without using the CLI scripts:

Windows

Option 1: Certificate Manager (GUI)

  1. Press Win + R, type certmgr.msc and press Enter
  2. Navigate to Trusted Root Certification AuthoritiesCertificates
  3. Right-click → All TasksImport
  4. Select your CA certificate file (.pem or .crt)
  5. Click NextFinish
  6. Restart browsers/VS Code

Option 2: PowerShell (as Administrator)

certutil -addstore -f Root "path\to\ca-chain.pem"

macOS

Option 1: Keychain Access (GUI)

  1. Open "Keychain Access" app
  2. Select "System" keychain (unlock if needed)
  3. File → Import Items
  4. Select your CA certificate file
  5. Double-click the imported certificate
  6. Expand "Trust" → Set to "Always Trust"
  7. Close and enter your password
  8. Restart browsers/VS Code

Option 2: Command Line

sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain /path/to/ca-chain.pem

Linux (Ubuntu/Debian)

# Copy certificate to system certificates directory
sudo cp ca-chain.pem /usr/local/share/ca-certificates/

# Update certificate store
sudo update-ca-certificates

# Restart browsers/VS Code

For other Linux distributions, the certificate location may vary. Common locations:

  • Fedora/RHEL: /etc/pki/ca-trust/source/anchors/
  • Arch Linux: /etc/ca-certificates/trust-source/anchors/

Quick Installation (Using T3D CLI)

Prerequisites:

  • Node.js 18+ installed
  • T3D CLI installed (via npm install -g @ternion/t3d or npm link)
  • Administrator/sudo privileges (required for certificate installation)
  • Certificate file (.pem or .crt format)

Install CA Certificate:

t3d ca install --cert <path-to-certificate-file>

Example:

t3d ca install --cert src/mqtt-node/data/ca-chain.pem

Uninstall CA Certificate (when no longer needed):

t3d ca uninstall --cert <path-to-certificate-file>

Note: You can also pipe certificate content via stdin or use --cert-content "<PEM>" for inline PEM content. See T3D CLI User Manual for more options.

Platform-Specific Notes

  • Windows: Run PowerShell or Command Prompt as Administrator
    • Certificate is added to "Trusted Root Certification Authorities"
    • You may see a User Account Control (UAC) prompt
  • macOS: You'll be prompted for your administrator password
    • Certificate is added to /Library/Keychains/System.keychain
    • You can verify in the "Keychain Access" app
  • Linux: You'll be prompted for your sudo password
    • Works best on Debian/Ubuntu-based distributions
    • Certificate is copied to /usr/local/share/ca-certificates/

After Installation

  1. Restart your web browsers (Chrome, Firefox, Safari, Edge)
  2. Restart VS Code if using MQTT connections
  3. Applications will now trust certificates signed by the installed CA

Why OS-Level Installation?

Browsers and VS Code webviews use the operating system's certificate store to validate SSL/TLS certificates. Installing the CA at the OS level ensures:

  • All browsers automatically trust WSS connections
  • VS Code webviews can connect to MQTT brokers over WSS
  • No certificate errors when using custom/internal CA certificates

Detailed Documentation

For comprehensive information including:

  • Troubleshooting common issues
  • Security considerations
  • Advanced installation options
  • Platform-specific details

See: CA Certificate Installation Guide


Getting Started

See the main documentation: