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

clickup-ops

v0.3.0

Published

JSON-first CLI for ClickUp automation workflows

Readme

clickup-ops

CLI ClickUp générée depuis OpenAPI, orientée scripts, CI et automatisations.

Principes

  • Sortie JSON déterministe
  • Une commande générée par route OpenAPI (nom canonique)
  • Workflows custom et workflows déclaratifs (JSON/YAML)
  • Sans sous-process shell pour enchaîner les appels API

Installation

Sans installation globale :

npx clickup-ops lists:create help

Installation globale :

npm install -g clickup-ops
# ou
pnpm add -g clickup-ops

Prérequis

  • Node.js >=25

Configuration

Variables d'environnement :

  • CLICKUP_API_TOKEN (requis)
  • CLICKUP_WORKSPACE_ID (optionnel, mais utile pour certains workflows)
  • CLICKUP_USER_ID (optionnel)

Exemple :

export CLICKUP_API_TOKEN=xxx
export CLICKUP_WORKSPACE_ID=9012498288
export CLICKUP_USER_ID=60665481

Ordre de résolution :

  1. Options CLI
  2. Variables d'environnement
  3. Erreur bloquante

Commandes générées (OpenAPI)

Le CLI génère des commandes canoniques à la racine, par exemple :

clickup-ops authorization:get-authorized-user
clickup-ops tasks:get <task_id>
clickup-ops tasks:update <task_id> --body '{"status":"in progress"}'
clickup-ops lists:create <folder_id> --body '{"name":"Sprint 52"}'
clickup-ops tasks:list <list_id> --include-closed false

Paramètres

  • path params : arguments positionnels (<task_id>, <list_id>, etc.)
  • query params : options sans préfixe (--include-closed, --page, etc.)
  • body :
    • --body '{...}'
    • --body-file payload.json

Aide des commandes

Deux syntaxes supportées :

clickup-ops tasks:list --help
clickup-ops tasks:list help

L'aide enrichie inclut :

  • operationId
  • méthode/path HTTP
  • paramètres path/query
  • body (content-types + champs top-level quand disponibles)
  • exemple de commande

Workflows

Workflows intégrés

clickup-ops workflow sprint-create --folder-id <folder_id> --name "Sprint 52"
clickup-ops workflow backlog-to-sprint --backlog-list-id <id> --sprint-list-id <id>
clickup-ops workflow promote-top-priority --list-id <id> --to-status "in progress"

Workflows déclaratifs (JSON/YAML)

clickup-ops workflow run --file workflow.json --input '{"listId":"123"}'
clickup-ops workflow run --file workflow.yaml --input-file input.json

Notes :

  • JSON fonctionne sans dépendance supplémentaire
  • YAML nécessite l'installation optionnelle de yaml :
pnpm add yaml

Options globales

  • --token <token>
  • --workspace <id>
  • --user <id>
  • --header <name:value> (répétable, style curl)
  • --json (sortie JSON stricte)
  • --pretty (sortie lisible, défaut)

Format de sortie

Succès

{
  "success": true,
  "data": {}
}

Erreur

{
  "success": false,
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "..."
  }
}

Codes de sortie

| Code | Signification | | ---- | ---------------- | | 0 | Succès | | 1 | Config error | | 2 | API error | | 3 | Validation error | | 4 | Unknown error |

Développement

pnpm install
pnpm codegen
pnpm lint
pnpm test:run
pnpm build

Docs projet