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

@shiftingcroco/crocodeur

v0.1.2

Published

Crocodeur — méta-harnais SDLC spec-driven portable (CLI init/sync/upgrade + cœur SDLC).

Readme

@shiftingcroco/crocodeur

Méta-harnais SDLC spec-driven portable — CLI init / sync / upgrade + cœur CDA (step / pipeline / spec / session / artifact) + pont issues framework. Package public publié sur npm (0.x, semver dès la v1).

Crocodeur matérialise un harnais d'agents IA complet dans n'importe quel dépôt hôte : un home .crocodeur/ (builtins + overrides local/ + état vivant), des adaptateurs de harnais générés (.claude/, .opencode/, .mcp.json = sorties committées de crocodeur sync), et un cœur Contract-Driven Agents utilisable hors ligne pour piloter /brief → /spec → /plan → /execute.

Installation

Le package est public sur npm (registry.npmjs.org). Le scope @shiftingcroco se résout anonymement : aucun token, aucun .npmrc n'est requis pour l'installer. L'install réussit du premier coup.

1. Installer

pnpm add -D @shiftingcroco/crocodeur   # (npm i -D / yarn add -D équivalents)

Le package requiert Node >= 20 (aligné .nvmrc).

Si l'install échoue, classe le code d'erreur avant de provisionner quoi que ce soit : un 404 signifie que le scope n'est pas résolu (souvent un ~/.npmrc privé qui détourne @shiftingcroco — le retirer, jamais poser un token) ; seul un 401/403 justifie un credential. Doctrine complète : ONBOARDING.md §Étape 1.

2. Initialiser le harnais

pnpm exec crocodeur init      # scaffold .crocodeur/ + premier sync (repo vierge)
pnpm exec crocodeur sync      # régénère .claude/ + .opencode/ + .mcp.json

init refuse un dépôt non-vierge par défaut (.claude/ / .opencode/ préexistants) ; --force traite l'existant comme des sorties à régénérer. Exit codes : 0 = succès/no-op, 1 = refus/erreur (toutes commandes) ; seul init (et upgrade) ajoute 2 = divergence hôte (builtin modifié à la main). Détail : crocodeur --help.

Pont issues framework (crocodeur issue)

Remonter une issue du framework (bug harnais, tech-debt, amélioration) vers le tracker dédié ShiftingCroco/crocodeur — jamais vers le backlog produit de l'hôte, jamais avec du contexte client (le body passe par un template sanitisé qui rédige tout secret).

Auth — CROCODEUR_ISSUE_TOKEN

export CROCODEUR_ISSUE_TOKEN="<PAT fine-grained, scope issues: write sur ShiftingCroco/crocodeur>"

Préséance de résolution : CROCODEUR_ISSUE_TOKEN → GH_TOKEN → GITHUB_TOKEN (les deux derniers ne servent de repli que s'ils portent le scope issues: write). Aucun token trouvé ⇒ échec immédiat (exit 1) avec un message pointant cette section — jamais de POST aveugle.

Usage

crocodeur issue create \
  --title "Titre concis de l'issue framework" \
  --body  "Description (ou --body-file <chemin> / --body-file - pour stdin)" \
  --label bug --label ai-detected      # --label répétable

# Prévisualiser la requête POST sans rien envoyer (aucun réseau) :
crocodeur issue create --title "…" --body "…" --dry-run

Sortie succès : JSON { "number": <n>, "html_url": "<url>" } sur stdout.

Le pont issues est la seule commande réseau du package, à l'initiative de l'opérateur. init / sync / upgrade restent 100 % hors ligne.

Publication (mainteneurs)

La publication est publique (publishConfig.access: public, registre registry.npmjs.org) et jamais automatique : elle se déclenche uniquement en manuel / sur release via le workflow crocodeur-release.yml. Le CI de release exécute d'abord un secret-scan du tarball (npm pack → extraction → détecteurs) et un smoke-install L3 déterministe (repo tmp vierge → install tarball → init → vérif manifest + checksums → sync --check (+ 2e run, déterminisme) → scaffold direct d'un spec.state.json minimal → validate → step claim → frontière namespace hôte) avant tout publish. Le spec portable n'expose que status / claim / resume (aucun verbe create — le scaffold du spec.state.json est direct).

Références

  • Spec SSOT : docs/specs/20260707-crocodeur-package-extraction/
  • Doctrine méta-harnais : docs/crocodeur/README.md