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

@archetypeai/ds-cli

v0.3.27

Published

Archetype AI Design System CLI Tool

Readme

@archetypeai/ds-cli

CLI for the Archetype AI Design System. Scaffold new projects, add the design system to existing ones, and manage components and agent configurations.


Run directly with npx:

npx @archetypeai/ds-cli create my-app

Commands

create → Scaffold a new project

npx @archetypeai/ds-cli create my-app

Sets up a SvelteKit + Tailwind v4 + shadcn-svelte project with design tokens, components, and an optional demo page.

| Flag | Values | Default | |------|--------|---------| | --framework | svelte | prompt | | --pm | npm, pnpm, bun, yarn | prompt | | --fonts <path> | path to PP Neue Montreal fonts folder | prompt | | --no-fonts | skip font installation (use system fallback) | — | | --no-components | skip component install | install all | | --codeagent | cursor, claude, none | prompt | | --defaults | force non-interactive mode | — |

npx @archetypeai/ds-cli create my-app --pm pnpm --no-fonts --codeagent claude
npx @archetypeai/ds-cli create my-app --pm npm --fonts /path/to/fonts --codeagent claude

Non-interactive mode (no TTY or --defaults): all required flags must be specified. The CLI lists missing options and exits so agents can ask the user before proceeding.


init → Add DS to an existing project

cd my-existing-app
npx @archetypeai/ds-cli init

Run from a SvelteKit project root. Auto-detects your package manager, installs tokens, shadcn-svelte, and components, and prepends DS imports to your layout.css (preserving existing styles).

| Flag | Values | Default | |------|--------|---------| | --pm | npm, pnpm, bun, yarn | auto-detect | | --fonts <path> | path to PP Neue Montreal fonts folder | prompt | | --no-fonts | skip font installation (use system fallback) | — | | --no-components | skip component install | install all | | --codeagent | cursor, claude, none | prompt | | --defaults | force non-interactive mode | — |

npx @archetypeai/ds-cli init --pm npm --no-fonts --codeagent claude
npx @archetypeai/ds-cli init --pm npm --fonts /path/to/fonts --codeagent claude

add → Add components, tokens, or agent config

add ds-ui-svelte

npx @archetypeai/ds-cli add ds-ui-svelte

Installs design tokens, all components from the registry, and optionally local fonts. Requires shadcn-svelte (components.json must exist).

| Flag | Values | Default | |------|--------|---------| | --fonts <path> | path to PP Neue Montreal fonts folder | prompt | | --no-fonts | skip font installation (use system fallback) | — |

npx @archetypeai/ds-cli add ds-ui-svelte --fonts /path/to/fonts
npx @archetypeai/ds-cli add ds-ui-svelte --no-fonts

add ds-lib-tokens

npx @archetypeai/ds-cli add ds-lib-tokens

Installs @archetypeai/ds-lib-tokens and optionally local fonts.

| Flag | Values | Default | |------|--------|---------| | --fonts <path> | path to PP Neue Montreal fonts folder | prompt | | --no-fonts | skip font installation (use system fallback) | — |

npx @archetypeai/ds-cli add ds-lib-tokens --fonts /path/to/fonts
npx @archetypeai/ds-cli add ds-lib-tokens --no-fonts

Non-interactive mode (no TTY or --defaults): font flags must be specified. The CLI lists missing options and exits so agents can ask the user before proceeding.

add ds-config-codeagent

npx @archetypeai/ds-cli add ds-config-codeagent --cursor
npx @archetypeai/ds-cli add ds-config-codeagent --claude

| Flag | Effect | |------|--------| | --cursor | Installs AGENTS.md, skills, and rules to .cursor/ | | --claude | Installs CLAUDE.md, skills, and rules to .claude/ |

Without a flag, an interactive prompt asks which IDE to configure.