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

@hyphaene/hexa-ts-kit

v1.5.0

Published

TypeScript dev kit for Claude Code agents: architecture linting, scaffolding, knowledge analysis

Readme

hexa-ts-kit

TypeScript dev kit for Claude Code agents: architecture linting, scaffolding, and knowledge analysis.

Built for colocated feature architectures in Vue.js, NestJS, and Playwright projects.

Installation

npm install -g @hyphaene/hexa-ts-kit

Or use directly with npx:

npx @hyphaene/hexa-ts-kit lint

Usage

CLI

# Lint current directory
hexa-ts lint

# Lint only git-changed files (incremental mode)
hexa-ts lint --changed

# Filter by rule categories
hexa-ts lint --rules COL,NAM,VUE

# Analyze files to find matching knowledges
hexa-ts analyze src/domains/contracts/upload.composable.ts

# Analyze git-changed files
hexa-ts analyze --changed

# Scaffold a Vue feature
hexa-ts scaffold vue-feature src/domains/contracts/upload

# Scaffold a NestJS feature
hexa-ts scaffold nestjs-feature src/domains/orders/create

# Scaffold Playwright tests
hexa-ts scaffold playwright-feature e2e/checkout

MCP Server

Add to your Claude Code MCP configuration:

{
  "mcpServers": {
    "hexa-ts": {
      "command": "npx",
      "args": ["-y", "-p", "@hyphaene/hexa-ts-kit@latest", "-c", "hexa-ts-mcp"]
    }
  }
}

Or if installed globally:

{
  "mcpServers": {
    "hexa-ts": {
      "command": "hexa-ts-mcp"
    }
  }
}

Available MCP tools:

| Tool | Description | | ---------- | ------------------------------------- | | lint | Lint files for architecture rules | | analyze | Map files to associated knowledges | | scaffold | Generate colocated feature structures |

Lint Rules

71 rules across 9 categories:

| Category | Prefix | Count | Focus | | ------------ | ------ | ----- | ---------------------------------- | | Colocation | COL | 12 | File placement and structure | | Naming | NAM | 12 | File and export naming conventions | | Vue | VUE | 13 | Vue component patterns | | Composable | CMP | 11 | Composable patterns | | Rules | RUL | 12 | Business rules file patterns | | Query | QRY | 8 | Query/API file patterns | | Translations | TRN | 5 | i18n file patterns | | TypeScript | TSP | 12 | TypeScript patterns | | Domain | DOM | 4 | Domain boundary rules |

Output Formats

# Console output (default)
hexa-ts lint

# JSON output (for agents)
hexa-ts lint --format json

Scaffold Templates

Vue Feature

src/domains/{domain}/{feature}/
├── Feature.vue
├── feature.composable.ts
├── feature.rules.ts
├── feature.types.ts
├── feature.query.ts
├── feature.translations.ts
└── __tests__/
    └── feature.rules.test.ts

NestJS Feature

src/domains/{domain}/{feature}/
├── feature.module.ts
├── feature.controller.ts
├── feature.service.ts
├── feature.types.ts
└── __tests__/
    └── feature.controller.e2e.spec.ts

Playwright Feature

e2e/{feature}/
├── feature.spec.ts
├── feature.page.ts
└── feature.fixtures.ts

Knowledge Analysis

The analyze command maps files to knowledge documents based on file patterns:

$ hexa-ts analyze upload.composable.ts

{
  "success": true,
  "files": ["upload.composable.ts"],
  "mappings": [
    {
      "file": "upload.composable.ts",
      "knowledges": ["vue-composable.knowledge.md"]
    }
  ]
}

Knowledge files use frontmatter to declare their matching patterns:

---
name: vue-composable
match: "*.composable.ts"
---

Requirements

  • Node.js 20+
  • Git (for --changed mode)

License

MIT