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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@paklo/cli

v0.15.0

Published

A powerful CLI tool for running Dependabot updates against Azure DevOps repositories from anywhere - your local machine, CI/CD pipelines, or any environment with Docker support.

Downloads

980

Readme

Paklo CLI

A powerful CLI tool for running Dependabot updates against Azure DevOps repositories from anywhere - your local machine, CI/CD pipelines, or any environment with Docker support.

Why Paklo?

Unlike GitHub's hosted Dependabot service, Azure DevOps repositories need a different approach for dependency updates. Paklo bridges this gap by providing:

  • Local Development - Test dependency updates on your machine before deploying
  • CI/CD Integration - Run updates in your existing pipelines with full control
  • Anywhere Execution - No dependency on specific hosting environments
  • Full Compatibility - Aims to be at feature parity with GitHub's hosted Dependabot
  • Azure DevOps Native - Built specifically for Azure DevOps repositories and workflows

Installation

Requirements: Node.js 22 or later and docker

# Install globally
npm install -g @paklo/cli

# Or use with npx
npx @paklo/cli --help

Quick Start

# Validate your dependabot.yml configuration
paklo validate --organisation-url https://dev.azure.com/my-org --project my-project --repository my-repo --git-token <TOKEN>

# Run dependency updates locally
paklo run --organisation-url https://dev.azure.com/my-org --project my-project --repository my-repo --git-token <TOKEN>

# Clean up Docker resources
paklo cleanup

Commands

validate

Validates your Dependabot configuration file against a repository.

paklo validate --organisation-url <ORGANISATION-URL> --project <PROJECT> --repository <REPOSITORY> --git-token <TOKEN>

Options:

  • --organisation-url <ORGANISATION-URL> - Azure DevOps organization URL (e.g., https://dev.azure.com/my-org) (required)
  • --project <PROJECT> - Project name or ID (required)
  • --repository <REPOSITORY> - Repository name or ID (required)
  • --git-token <TOKEN> - Git access token (required)

run

Executes Dependabot updates locally with full control over the process.

paklo run --organisation-url <ORGANISATION-URL> --project <PROJECT> --repository <REPOSITORY> [options]

Key Options:

  • --organisation-url <ORGANISATION-URL> - Azure DevOps organization URL (e.g., https://dev.azure.com/my-org) (required)
  • --project <PROJECT> - Project name or ID (required)
  • --repository <REPOSITORY> - Repository name or ID (required)
  • --git-token <TOKEN> - Git access token (required)
  • --github-token <TOKEN> - GitHub token to avoid rate limiting
  • --out-dir <DIR> - Working directory (default: work)
  • --auto-approve - Automatically approve pull requests
  • --set-auto-complete - Auto-complete PRs when policies are met
  • --merge-strategy <STRATEGY> - Merge strategy: squash, rebase, or merge
  • --author-name <NAME> - Git author name
  • --author-email <EMAIL> - Git author email
  • --experiments <LIST> - Comma-separated experiments to enable
  • --updater-image <IMAGE> - Custom updater Docker image
  • --dry-run - Run without making changes
  • --debug - Enable debug logging
  • --inspect - Write raw Dependabot API requests to ./inspections for troubleshooting

Example:

paklo run --organisation-url https://dev.azure.com/contoso \
  --project contoso-project \
  --repository web-app \
  --git-token $GIT_TOKEN \
  --github-token $GITHUB_TOKEN \
  --auto-approve \
  --set-auto-complete \
  --merge-strategy squash \
  --experiments "record_ecosystem_versions,separate_major_minor_updates"

cleanup

Removes old Docker images and containers used by Dependabot.

paklo cleanup

Configuration

Paklo works with standard dependabot.yml files. Place your configuration at .github/dependabot.yml in your repository.

Example configuration:

version: 2
updates:
  - package-ecosystem: "npm"
    directory: "/"
    schedule:
      interval: "weekly"
    reviewers:
      - "my-team"
    assignees:
      - "dependabot-assignee"

When your dependabot.yml contains variable placeholders (like $NPM_TOKEN), Paklo will prompt you to provide values during execution or read them from environment variables.

Private Registries

Configure private registries in your dependabot.yml:

version: 2
registries:
  private-npm:
    type: npm-registry
    url: https://npm.example.com
    token: $NPM_TOKEN
updates:
  - package-ecosystem: "npm"
    directory: "/"
    registries:
      - private-npm
    schedule:
      interval: "weekly"

Advanced Usage

Custom Experiments

Enable Dependabot experiments to test new features:

paklo run ... --experiments "record_ecosystem_versions,separate_major_minor_updates"

Custom Updater Images

Use a specific Dependabot updater image:

paklo run ... --updater-image "ghcr.io/dependabot/dependabot-updater-{ecosystem}:latest"

Targeting Specific Updates

Run only specific update configurations:

paklo run ... --target-update-ids 1,3,5

Security Advisories

Provide a custom security advisories file:

paklo run ... --security-advisories-file ./advisories.json

Ecosystem Support

Paklo aims to maintain feature parity with GitHub's hosted Dependabot service, supporting all available package ecosystems including npm, NuGet, Maven, Bundler, pip, Composer, Go modules, Cargo, Docker, GitHub Actions, Terraform, and more.

Troubleshooting

Common Issues

Rate limiting: Use --github-token to avoid GitHub API rate limits.

Docker issues: Run paklo cleanup to remove old containers and images.

Authentication: Ensure your git token has appropriate permissions for the repository.

Network issues: Check that your environment can access both Azure DevOps and external package registries.

Debug Mode

Enable detailed logging:

paklo run ... --debug

Integration

CI/CD Pipelines

Paklo can be integrated into CI/CD pipelines for testing dependency updates:

# Azure Pipelines example
- script: |
    npm install -g @paklo/cli
    paklo validate --organisation-url $(System.TeamFoundationCollectionUri) --project $(System.TeamProject) --repository $(Build.Repository.Name) --git-token $(System.AccessToken)
  displayName: 'Validate Dependabot Config'

Docker

Run Paklo in a containerized environment:

FROM node:22-alpine
RUN npm install -g @paklo/cli
WORKDIR /app
CMD ["paklo", "--help"]

Contributing, License & Support

For contributing guidelines, license information, bug reports, and support:

👉 Visit the main project repository: dependabot-azure-devops