CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-taze

A modern cli tool that keeps your deps fresh

Pending
Quality

Pending

Does it follow best practices?

Impact

Pending

No eval scenarios have been run

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

Taze

Taze is a modern command-line interface tool for dependency management that helps developers keep their package dependencies fresh and up-to-date. Built with TypeScript and designed for the modern JavaScript ecosystem, it provides intelligent dependency updating with built-in monorepo support, safe version range management, and interactive updating workflows.

Package Information

  • Package Name: taze
  • Package Type: npm
  • Language: TypeScript
  • Installation: npm install taze or use directly with npx taze

Core Imports

import { CheckPackages, loadPackages, writePackage, defineConfig } from "taze";

For CommonJS:

const { CheckPackages, loadPackages, writePackage, defineConfig } = require("taze");

Basic Usage

CLI Usage

# Check for dependency updates
npx taze

# Check for major updates
npx taze major

# Update dependencies interactively
npx taze -I

# Write updates to package.json
npx taze -w

# Recursively check monorepo
npx taze -r

Programmatic API Usage

import { CheckPackages, defineConfig } from "taze";

// Basic dependency checking
const result = await CheckPackages({
  cwd: process.cwd(),
  mode: "minor",
  write: false
});

// Configuration-based usage
const config = defineConfig({
  mode: "patch",
  include: ["react", "typescript"],
  exclude: ["legacy-lib"]
});

const results = await CheckPackages(config, {
  afterPackagesLoaded: (packages) => {
    console.log(`Found ${packages.length} packages`);
  }
});

Architecture

Taze is built around several key components:

  • Package Discovery: Automatic detection of package.json files and workspace configurations
  • Dependency Resolution: Fetches latest versions from npm/yarn/pnpm registries with caching
  • Version Analysis: Intelligent comparison of current vs available versions with semantic versioning
  • Update Management: Safe version range updates respecting semantic versioning constraints
  • Package Manager Integration: Native support for npm, yarn, and pnpm with automatic detection
  • Monorepo Support: Workspace-aware dependency management for complex project structures

Capabilities

Programmatic API

Core functions for programmatic dependency management and package analysis. Ideal for integration into build tools, CI/CD pipelines, and custom automation scripts.

function CheckPackages(
  options: CheckOptions,
  callbacks?: CheckEventCallbacks
): Promise<{ packages: PackageMeta[] }>;

function defineConfig(config: Partial<CheckOptions>): Partial<CheckOptions>;

API Usage

Command Line Interface

Full-featured CLI for interactive and automated dependency management with extensive configuration options and workflow support.

taze [mode] [options]

# Available modes: default | major | minor | patch | latest | newest | next
# Key options: -w (write), -I (interactive), -r (recursive), -f (force)

CLI Usage

Configuration Management

Flexible configuration system supporting file-based configuration, environment variables, and runtime options with intelligent defaults.

interface CheckOptions extends CommonOptions {
  mode?: RangeMode;
  write?: boolean;
  interactive?: boolean;
  install?: boolean;
  update?: boolean;
  global?: boolean;
}

Configuration

Core Types

type RangeMode = "default" | "major" | "minor" | "patch" | "latest" | "newest" | "next";

interface PackageMeta {
  name: string;
  version: string;
  filepath: string;
  deps: RawDep[];
  resolved: ResolvedDepChange[];
}

interface ResolvedDepChange {
  name: string;
  currentVersion: string;
  targetVersion: string;
  diff: "major" | "minor" | "patch" | "error" | null;
  update: boolean;
}
Workspace
tessl
Visibility
Public
Created
Last updated
Describes
npmpkg:npm/taze@19.5.x
Publish Source
CLI
Badge
tessl/npm-taze badge