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

trellisuml

v0.15.4

Published

Trellis is a framework & cli tool for making create swagger-spec-like models of Software Systems that can be used to generate artifacts like diagrams, configuration files, and documentation.

Readme

Trellis

Trellis is a framework & cli tool for making create swagger-spec-like models of Software Systems that can be used to generate artifacts like diagrams, configuration files, and documentation.

This project was made with main goals of:

  • establishing good separation of concerns between Modeling & generating Output Artifacts
  • using popular tools (json schema, handlebars), minimize framework code.
  • modular approach, optionally use pre-defined templates for popular metamodels (e.g. UML, C4, etc.)

Getting Started

To get started using this project locally, follow these instructions:

  1. Make sure you have Node 16 LTS or higher installed.
  2. cd into your preferred working directory run the command npx trellisuml init to initialize a new project folder.
    1. (Optional) Provide a project type, one of: uml, c4, data. Default: uml
  3. Create models in the sub-folders of the models directory.

Note: use sub-folders as needed to organize your workspace.

  1. Run the command trellis build to create Output Artifacts based on your models (saved to the output directory).

⚠️ Note: you should commit both the models & the output artifacts to source control so that you can track both changes to the models & generated output in order to better understand model changes and to catch possible mistakes that unintentionally impact output.

How It Works

Application Architecture

Application Architecture Diagram

Build Sequence

Build Sequence Diagram

CLI Reference

trellis init - initializes project folder structure, package.json and installs latest available dependencies.

trellis build - builds the trellis project in the current directory.

trellis watch - watches and automatically builds when changes to the trellis project in the current directory are detected.

Project Structure

.
├── .vscode/
│   └── settings.json - json schema config added based on init project template.
├── models/
│   └── ... Subfolder for each schema/template type
├── processors/
│   └── ... .js file that exports a default with signature: function (schema: object): object, optional for transforming models prior to template step.
├── schemas/
│   └── ... json schema files that enforce structure on model files
├── templates/
│   └── ... handlebars templates that are used to generate output artifacts based on pre-processed models
└── package.json - provides scripts for dev and ci/cd, used to pin workspace trellis version

Project Types

UML

Refer to the UML model type documentation for more information:

  • System - models a Software System Package
  • Use Case Model - models one or more Use Cases that support a Business Process.
  • Project - models one or more Use Cases that change as part of a software development project and the Solution Options supporting that change.

C4 (🚧 WIP)

Refer to the C4 model type documentation for more information:

  • Component
  • Container
  • System
  • Solution