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

@sanring/cli

v0.24.1

Published

CLI for adding Sanring UI components to your Angular project

Readme

@sanring/cli

CLI for adding Sanring UI components to your Angular project. Components are copied directly into your project as source — you own the code.

Features

  • No runtime UI package to depend on — nothing to install or version-pin.
  • sanring add resolves component dependencies, peer packages, and shared utilities automatically.
  • sanring diff / sanring update protect customized files by showing a diff before overwriting.

Usage

npx @sanring/cli@latest init
npx @sanring/cli@latest add date-picker

Angular CLI users can bootstrap with:

ng add @sanring/cli

Commands are grouped by what stage of your workflow they belong to:

# Install
npx @sanring/cli@latest init                    # set up sanring.config.json + theme
npx @sanring/cli@latest add date-picker          # copy a component into your project
npx @sanring/cli@latest remove date-picker       # remove an installed component

# Explore
npx @sanring/cli@latest list                     # browse available components
npx @sanring/cli@latest search date              # search by name or description
npx @sanring/cli@latest info date-picker         # preview what would be installed

# Maintain
npx @sanring/cli@latest diff date-picker         # compare local files against registry
npx @sanring/cli@latest migrate date-picker      # check for breaking-change migration steps
npx @sanring/cli@latest update date-picker       # apply registry changes
npx @sanring/cli@latest doctor                   # check environment + project health

build generates a registry.json for publishing your own registry, and mcp starts an MCP server for AI coding agents — see below.

Every command accepts --registry <url-or-path> to point at a custom registry. sanring.config.json also supports registries and defaultRegistry for permanent alias configuration. Run any command with --help for the full flag list, or see ui.sanring.dev/cli for complete documentation.

Notes

  • Requires Node.js >= 18, Angular >= 22, Tailwind CSS.
  • init creates sanring.config.json and writes src/sanring-theme.css. Add the theme file to your global CSS once: @import './sanring-theme.css';
  • add records a content hash per file so diff/update can tell untouched files from customized ones — untouched files update silently, customized files always prompt first.
  • mcp starts an MCP server over stdio for AI coding agents (npx @sanring/cli@latest mcp).
  • build generates a registry.json from your own Angular component source tree for publishing a private registry (npx @sanring/cli@latest build --help).

Links

License

MIT