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

@convext/cli

v1.0.36

Published

CLI for Convext - sync engineering rules and standards to your project

Readme

Convext CLI

npm version

Sync engineering rules and standards to your project from Convext.

npm: https://www.npmjs.com/package/@convext/cli

Installation

# Install globally
npm install -g @convext/cli

# Or use via npx (no install needed)
npx @convext/cli <command>

Quick Start

# 1. Configure your API token
convext config --token YOUR_TOKEN

# 2. Initialize your project
convext init

# 3. Sync rules and generate dotfiles
convext sync

Commands

sync - Sync engineering rules and generate IDE dotfiles

convext sync [options]

Options:
  -p, --project <slug>     Project slug to sync context for
  -l, --languages <langs>  Comma-separated languages (e.g., 'ruby,typescript')
  -f, --format <format>    Output format: claude (default), cursor, copilot, antigravity, or all
  -n, --dry-run            Preview changes without writing files
  -v, --verbose            Show detailed debug output
  --hooks                  Generate enforcement hooks for Claude Code
  --telemetry              Upload local telemetry to Convext cloud
  --skip-plans             Skip syncing plans and tasks (only sync context/rules)

Generated files:

  • CLAUDE.md - Claude Code instructions
  • .cursorrules - Cursor IDE rules
  • .github/copilot-instructions.md - GitHub Copilot instructions

check - Validate compliance with Convext rules

convext check [options]

Options:
  -s, --strict    Fail (exit code 1) if files are out of sync
  -q, --quiet     Suppress output, only return exit code

init - Initialize and register project with Convext

convext init [options]

Options:
  -n, --name <name>    Project name (default: current directory name)
  -o, --org <name>     Organization name or ID

Creates .convext/config.json with project configuration.

config - Manage CLI configuration

convext config --token YOUR_TOKEN    # Set API token
convext config --url https://...     # Set custom API URL
convext config --show                # Show current config

mcp - Configure MCP for your editor/agent

Automatically detect and configure MCP (Model Context Protocol) for your AI coding assistant.

convext mcp [options]

Options:
  -e, --editor <name>  Specify editor (claude-code, cursor, windsurf, vscode)
  -f, --fix            Auto-fix configuration without prompting
  -s, --status         Show MCP configuration status for all editors

Examples:

# Check MCP status across all editors
convext mcp --status

# Configure MCP for detected/selected editor
convext mcp

# Configure MCP for a specific editor
convext mcp --editor cursor

# Auto-fix without prompts
convext mcp --fix

Supported editors:

  • Claude Code - Anthropic's CLI
  • Cursor - AI-powered IDE
  • Windsurf - Codeium's IDE
  • VS Code - With MCP extension

whoami - Show configured user and organization

convext whoami

Configuration

Authentication

# Config file (~/.convext/config.json)
convext config --token YOUR_TOKEN

# Or via environment variable
export CONVEXT_TOKEN="cc_live_..."

Custom API URL

convext config --url https://your-server.com

Workflows

Pre-commit Hook

Automatically check compliance before committing:

#!/bin/sh
# .git/hooks/pre-commit

# Ensure rules are in sync (don't fail build)
npx @convext/cli check || echo "Warning: Rules may be out of date"

Or stricter version:

#!/bin/sh
# .git/hooks/pre-commit

  npx @convext/cli sync 2>/dev/null || true

CI/CD Integration

GitHub Actions

name: Convext Compliance

on: [push, pull_request]

jobs:
  check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
      - run: npx @convext/cli check --strict
        env:
          CONVEXT_TOKEN: ${{ secrets.CONVEXT_TOKEN }}

Pre-push Hook

npx @convext/cli check || exit 1

Project Configuration

After running init, a .convext/config.json file is created:

{
  "slug": "my-org/my-project",
  "name": "my-project",
  "repoUrl": "https://github.com/myorg/my-project"
}

This file should be committed to version control so team members share the same project context.

File Structure

~/.convext/           # Global config directory
  config.json         # API token and URL

.convext/             # Project-specific directory (commit to repo)
  config.json         # Project slug and metadata
  plans/              # Synced plan files
  tasks/              # Synced task files
  active_task.json    # Currently active task (when working)

CLAUDE.md             # Generated file for Claude Code
.cursorrules          # Generated file for Cursor
.github/
  copilot-instructions.md  # Generated file for GitHub Copilot

License

MIT