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

@cypherpotato/llm

v1.0.1

Published

AI-powered CLI tool for executing commands and JavaScript code

Downloads

180

Readme

llm

AI-powered command-line tool for executing shell commands and JavaScript code using natural language.

Bun License NPM


Table of Contents


About

LLM CLI is a cross-platform command-line tool that leverages OpenAI-compatible APIs to execute tasks on your computer using natural language prompts. It can run shell commands (PowerShell on Windows, sh on Linux/macOS) and JavaScript/TypeScript code through Bun runtime.

Tech Stack

  • Runtime: Bun - Fast JavaScript/TypeScript runtime
  • Language: TypeScript
  • API: OpenAI-compatible chat completions

Features

  • Natural Language Interface - Describe what you want to do in plain English
  • Cross-Platform - Works on Windows (PowerShell), Linux, and macOS (sh)
  • JavaScript Execution - Run JavaScript/TypeScript code using Bun
  • Interactive Processes - Detects when processes wait for input using LLM analysis
  • Yolo Mode - Skip confirmations for faster execution
  • Configurable - Easy API and behavior configuration

Installation

From NPM (Global)

npm install -g @cypherpotato/llm

From Source

git clone https://github.com/cypherpotato/llm.git
cd llm
bun install
bun run build

Configuration

Before using, configure your API credentials:

# Set API endpoint
llm config --set openai.endpoint "https://api.openai.com/v1"

# Set API key
llm config --set openai.apikey "sk-..."

# Set model (optional, defaults to gpt-4o)
llm config --set openai.model "gpt-4o"

Configuration Commands

| Command | Description | |---------|-------------| | llm config --set <key> <value> | Set a configuration value | | llm config --get <key> | Get a configuration value | | llm config --list | List all configuration values | | llm config --remove <key> | Remove a configuration value | | llm config --clear | Clear all configuration |

Configuration Keys

| Key | Description | Default | |-----|-------------|---------| | openai.endpoint | API endpoint URL | - | | openai.apikey | API key for authentication | - | | openai.model | Model to use | gpt-4o | | yolomode | Skip confirmations globally | false | | idle.timeout | Input detection timeout (ms) | 8000 |


Usage

Basic Usage

# Execute a task with natural language
llm "list all files in the current directory"

# Convert files using ffmpeg
llm "convert all .png files to .jpg using ffmpeg"

# Run with yolo mode (skip confirmations)
llm -y "create a hello.txt file with 'Hello World' content"

Yolo Mode

Yolo mode skips confirmation prompts, allowing for faster automated execution:

# Per-command yolo mode
llm -y "your prompt"
llm --yolo "your prompt"

# Enable globally
llm config --set yolomode true

Interactive Processes

When a command waits for user input, LLM CLI automatically detects it and:

  • In normal mode: Shows the analysis and prompts you for input
  • In yolo mode: Automatically sends the LLM's suggested input

License

MIT © cypherpotato