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

@7obygit/aw

v0.4.2

Published

Automated Workflow CLI

Readme

Automated Workflow 🚀

CI Status npm version License: MIT

aw is a powerful CLI tool designed to find and execute scripts across your projects. It unifies your workflow by automatically discovering scripts from multiple sources, including NPM, Python, Java, .NET, and CI pipelines, providing a single beautiful interface to run them all.


📦 Installation

Get up and running with a single command:

npm install -g @7obygit/aw

Other Options

  • From Source:
    git clone https://github.com/7obyGit/aw.git
    cd aw
    npm install -g .
  • Local Development:
    npm link

⚡ Quick Start

Simply run aw in any project directory to see a summary of available scripts:

aw
  1. List all discovered scripts:
    aw list scripts
  2. Find a specific script:
    aw find build
  3. Run a script (optionally pass arguments):
    aw run <script-name> -- --port 3000

✨ Features

  • 🔍 Auto-Discovery: Instantly finds scripts in .aw, package.json, pyproject.toml, pom.xml, build.gradle, .csproj, Makefile, docker-compose.yml, Cargo.toml, go.mod, Taskfile.yml, Justfile, and more.
  • 🌍 Smart Environment: Automatically loads .env files from your project root to CWD, merging variables intelligently.
  • 🛠️ Unified Interface: One command to rule them all. No more switching between npm run, poetry run, make, or cargo.
  • 🚀 Argument Passing: Pass additional arguments directly to the underlying scripts using aw run <name> -- <args>.
  • ⌨️ Shell Completion: Tab-completion support for Bash, Zsh, and Fish.
  • 🤖 Local CI Runner: Run your GitHub Actions or GitLab CI jobs locally using act or gitlab-ci-local.
  • 📋 Command Recording: Record your terminal sequences and save them as reusable scripts with aw record.
  • 🔗 JSON Support: Pipeline-friendly output for every command with the --json flag.
  • 🎨 Beautiful UI: Uses modern interactive prompts for a clean and efficient experience.

📖 Script Sources

aw intelligently scans your working directory for the following:

| Source | Description | | :--- |:-----------------------------------------------------------------------------------------| | Local .aw | Project-specific scripts and manual overrides (scans up the directory tree). | | NPM | Automatically pulls all scripts defined in package.json. | | Makefile | Automatically finds targets in Makefile or makefile. | | Docker Compose | Standard commands (up, down, ps, etc.) for docker-compose.yml or compose.yaml. | | Cargo (Rust) | Common cargo commands (build, run, test, etc.) when Cargo.toml is present. | | Go | Common go commands (build, run, test, etc.) when go.mod is present. | | Taskfile | Discovers tasks in Taskfile.yml or Task.yml. | | Justfile | Discovers recipes in Justfile. | | Python | Support for poetry and uv scripts defined in pyproject.toml. | | Java | Support for standard Java Maven (pom.xml), and Gradle (build.gradle/.kts). | | .NET | Discovers standard tasks (build, test, watch, etc.) in .csproj and .sln files. | | Shell Scripts | Finds standalone .sh (Unix), .bat/.cmd (Windows), and .ps1 (PowerShell). | | CI Pipelines | Discovers GitHub Actions (via act) and GitLab CI (via gitlab-ci-local) jobs. |


🌍 Environment Variables

aw provides several built-in environment variables to scripts it executes, allowing them to be aware of the aw context.

Built-in Variables (Always Available)

| Variable | Description | | :--- | :--- | | AW | Always set to true when running under aw. | | AW_VERSION | The current version of the aw CLI. | | AW_BIN | The absolute path to the aw executable. | | AW_CWD | The working directory where aw was invoked. |

Script-Specific Variables (Available during aw run)

| Variable | Description | | :--- | :--- | | AW_SCRIPT_NAME | The name of the script being executed. | | AW_SCRIPT_PATH | The full path to the script file. | | AW_SCRIPT_TYPE | The type of script (e.g., npm, shell, python). | | AW_SCRIPT_SOURCE | The source where the script was discovered. |

Command-Specific Variables (Available during aw exec)

| Variable | Description | | :--- | :--- | | AW_EXEC | Set to true when running an arbitrary command via aw exec. |


⌨️ Command Reference

| Command | Description | | :--- | :--- | | aw list scripts | Show all runnable scripts discovered in the current directory. | | aw run <name> | Execute a script by name. | | aw describe <name> | Show detailed information about a script. | | aw find <query> | Search for scripts by name, source, or description. | | aw exec <cmd> | Run an arbitrary shell command through the aw runner. | | aw init | Initialize a new .aw directory for project-specific scripts. | | aw record | Interactively record a sequence of commands and save them. | | aw add source <path> | Add a new directory to the script search path. | | aw add script <name> <path> | Manually add a specific script to your configuration. | | aw list sources | Show all configured script sources with at least one script. Use --all to show all. | | aw env | Show environment variables available to scripts. | | aw completion <shell> | Generate shell completion script (bash, zsh, fish). | | aw remove <type> <id> | Remove a source or script from the configuration. |

Global Options:

  • --json: Output results in JSON format.
  • --help: Display help information.
  • --version: Show the current version.

🛠️ Development

We welcome contributions! To get started:

  1. Clone the repo: git clone https://github.com/7obyGit/aw.git
  2. Install dependencies: npm install
  3. Run in dev mode: npm run dev -- <args>
  4. Run tests: npm test
  5. Build: npm run build
  6. Check Coding Standards and CONTRIBUTING.md for guidelines.

License: MIT