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

tazk-bin

v0.2.2

Published

πŸ• Lightweight, agnostic, fast and easy task runner

Downloads

1

Readme

πŸ• Tazk

Lightweight, agnostic, fast and easy task runner

Tazk is a modern task runner built in Rust that brings speed, simplicity, and flexibility to your development workflow. Define tasks in TOML, YAML, or JSON, and watch them execute with beautiful, colorized output.

✨ Features

  • πŸš€ Blazingly Fast - Written in Rust for maximum performance
  • πŸ“„ Multiple Formats - Support for TOML, YAML, and JSON configuration files
  • πŸ‘€ File Watching - Automatic task re-execution on file changes
  • 🎯 Smart Dependencies - Topological sorting ensures correct execution order
  • πŸ”„ Propagation - Changes can trigger dependent tasks automatically
  • ⚑ Concurrent Execution - Run commands in parallel when possible
  • 🎨 Beautiful Output - Colorized logs with Unicode symbols
  • πŸ›‘οΈ Cycle Detection - Prevents infinite loops in task dependencies
  • 🌍 Cross Platform - Works on Linux, macOS, and Windows

πŸ“¦ Installation

Cargo (Rust)

cargo install tazk

npm (Node.js)

npm install -g tazk-bin

Pre-built Binaries

Download the latest release from GitHub Releases


πŸš€ Quick Start

Create a tasks.toml file in your project root:

[config]
default = "hello"

[tasks.hello]
cmd = "echo hello world!"
desc = "print a greeting"

[tasks.goodbye]
cmd = "echo goodbye!"

Run your tasks:

# Run the default task
tazk

# Run a specific task
tazk goodbye

# List all available tasks
tazk --list

# Use a custom config file
tazk --file my-tasks.yaml build

πŸ“‹ Configuration

Tazk supports three configuration formats:

TOML (tasks.toml)

[config]
default = "build"
concurrent = true

[tasks.build]
cmd = "echo Building..."
desc = "Build the project"
deps = ["clean"]
watch = ["src/*.rs"]
watch_debounce = 500
watch_propagate = true
concurrent = false
env = { NODE_ENV = "production" }

YAML (tasks.yaml)

config:
  default: build
  concurrent: true

tasks:
  build:
    cmd: echo Building...
    desc: Build the project
    deps: [clean]
    watch: [src/*.rs]
    watch_debounce: 500
    watch_propagate: true
    concurrent: false
    env:
      NODE_ENV: production

JSON (tasks.json)

{
  "config": {
    "default": "build",
    "concurrent": true
  },
  "tasks": {
    "build": {
      "cmd": "echo Building...",
      "desc": "Build the project",
      "deps": ["clean"],
      "watch": ["src/*.rs"],
      "watch_debounce": 500,
      "watch_propagate": true,
      "concurrent": false,
      "env": {
        "NODE_ENV": "production"
      }
    }
  }
}

βš™οΈ Task Options

| Option | Type | Description | |--------|------|-------------| | cmd | string \| string[] | Command(s) to execute | | desc | string | Task description | | deps | string[] | Task dependencies | | watch | string[] | File patterns to watch for changes | | watch_debounce | number | Debounce time in milliseconds (default: 500) | | watch_propagate | boolean | Trigger dependent tasks on file changes | | concurrent | boolean | Override global concurrent setting | | env | object | Environment variables |


πŸ› οΈ CLI Options

πŸ• Tazk - Lightweight, agnostic, fast and easy task runner

Usage: tazk [OPTIONS] [TASK]

Arguments:
  [TASK]  Task to run (uses default if not specified)

Options:
  -f, --file <FILE>  Use a specific tasks file
  -l, --list         List all available tasks
  -h, --help         Print help
  -V, --version      Print version

🎯 Examples

Web Development

[config]
default = "dev"

[tasks.install]
cmd = "npm install"

[tasks.build]
cmd = ["npm run build"]
deps = ["install"]
watch = ["src/**/*", "package.json"]

[tasks.test]
cmd = "npm test"
deps = ["install"]

[tasks.dev]
cmd = "npm run dev"
deps = ["install"]
watch = ["src/**/*"]
watch_propagate = false

Rust Project

[config]
default = "check"

[tasks.fmt]
cmd = "cargo fmt"

[tasks.clippy]
cmd = "cargo clippy -- -D warnings"
deps = ["fmt"]

[tasks.test]
cmd = "cargo test"
deps = ["clippy"]

[tasks.build]
cmd = "cargo build --release"
deps = ["test"]

[tasks.check]
cmd = "echo All checks passed!"
deps = ["build"]

Docker Workflow

[tasks.build-image]
cmd = "docker build -t myapp ."
watch = ["Dockerfile", "src/**/*"]

[tasks.run-container]
cmd = "docker run -p 8080:8080 myapp"
deps = ["build-image"]

[tasks.push]
cmd = "docker push myapp:latest"
deps = ["build-image"]

πŸ” File Watching

Tazk includes a powerful file watching system:

[tasks.frontend]
cmd = "npm run build"
watch = [
  "src/**/*.js",
  "src/**/*.css", 
  "public/**/*"
]
watch_debounce = 300
watch_propagate = true
  • Glob Patterns: Use * and ** for flexible file matching
  • Debouncing: Prevent excessive re-runs during rapid file changes
  • Propagation: Automatically trigger dependent tasks on changes

🀝 Contributing

We welcome contributions! Please see contributing.md for details.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.