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

enact-on

v3.0.4

Published

Modular CLI tool featuring LangGraph AI Agent, file compression, string manipulation, and API integrations

Readme

enact-on ⚡

Modular, interactive Node.js CLI tool for file compression, string manipulation, and API integrations.

npm version license node version


🚀 Features

  • 🤖 AI Agent: Interactive coding & task assistant powered by LangGraph, Gemini & Tavily.
  • 🗜️ File Compression: Fast Gzip compression and decompression for files.
  • 🔠 String Tools: Convert case, count words/characters/sentences, check palindromes.
  • 🌐 API Utilities: Fetch random jokes, weather updates, and daily tech advice.
  • 🎨 Interactive TTY Menu: Terminal UI powered by @inquirer/prompts and chalk.
  • 💻 Cross-Platform: Supports Windows, macOS, and Linux out of the box.
  • 🌟 Gantic Features: Advanced automation and enhanced workflow capabilities.

⚡ Quick Start

You can run the CLI instantly without installing anything:

npx enact-on

Or launch the AI Agent directly:

npx enact-on agent

📦 Installation

To install enact-on globally across your system so you can run enact-on from any terminal:

npm install -g enact-on

After installing globally, simply type enact-on in your command line:

enact-on

2. Direct CLI Subcommands

🤖 AI Agent

# Launch interactive AI Agent session
enact-on agent

# Run AI Agent with an initial prompt or question
enact-on ai "Explore this directory and summarize the contents"

🔑 Environment Variables: Configure your API keys in a .env file (see .env.example):

  • GEMINI_API_KEY: Required for Gemini LLM model execution
  • TAVILY_API_KEY: Required for Tavily real-time web search tool

If keys are not found in .env, the CLI will interactively prompt for them when starting the AI Agent session.

File Compression

# Compress a file
enact-on compress myfile.txt

# Decompress a gzip file
enact-on decompress myfile.txt.gz

String Manipulation

# Convert to UPPERCASE
enact-on uppercase "hello world"

# Convert to lowercase
enact-on lowercase "HELLO WORLD"

# Word & character count
enact-on wordcount "Quick brown fox jumps over the lazy dog"

# Palindrome check
enact-on palindrome "racecar"

API Integrations

# Fetch developer joke
enact-on joke

# Fetch weather (default: London)
enact-on weather Paris

# Fetch daily advice quote
enact-on quote

🛠️ Local Development

  1. Clone the repository:

    git clone https://github.com/Devashish-Repo/enact-on.git
    cd enact-on
  2. Install dependencies:

    npm install
  3. Link locally for testing:

    npm link
    enact-on --help

📄 License

MIT © Devashish