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

@lightning-tools/lt

v0.3.2

Published

CLI for Lightning Tools — manage credits and call pay-per-use tools from the terminal

Readme

lt — Lightning Tools CLI

Command-line interface for Lightning Tools. Manage credits and call pay-per-use AI tools directly from your terminal.

Install

npm install -g @lightning-tools/lt

Requires Node.js 18+.

Quick Start

lt start

Follow the prompts to buy credits and receive an API key. The key is saved to ~/.lightning-tools/config.json automatically.

Commands

Account

| Command | Description | |---|---| | lt start | Buy credits and get an API key, or manage your existing account | | lt topup <quantity> | Top up credits for your existing account | | lt set-key <key> | Store an existing API key | | lt balance | Show your current credit balance |

Tools

| Command | Description | |---|---| | lt tools | List all available tools with prices | | lt run [name] | Run a tool interactively with guided prompts | | lt <tool-name> --flag value | Call a tool directly by name |

Using Tools

Interactive wizard

Run any tool without flags to get guided prompts:

lt email-validator
lt run email-validator

Direct flags

Pass all required flags to skip the wizard:

lt email-validator --email [email protected]
lt email-validator --email [email protected] --pretty

The --pretty flag pretty-prints JSON output for any tool.

Credits remaining are printed to stderr after each call.

Available Tools

| Tool | Command | Cost | |---|---|---| | Email Validator | lt email-validator --email <addr> | 2 credits | | Calculator | lt calculator --expression <expr> | 1 credit | | QR Code | lt qr-code --content <text> | 1 credit | | Phone Validator | lt phone-validator --phone <number> | 1 credit | | Extract Text | lt extract-text --url <url> | 2 credits | | Date Utils | lt date-utils <operation> [flags] | 1–2 credits | | Domain Intelligence | lt domain-intelligence <operation> --domain <domain> | 1 credit |

Run lt tools to see the full list with current pricing.

Configuration

The CLI stores your API key at ~/.lightning-tools/config.json.

You can also set the key via environment variable:

export LIGHTNING_TOOLS_API_KEY=sk_yourkey

To point at a different API (e.g. staging):

export LIGHTNING_TOOLS_BASE_URL=https://api-staging.hop.ie

Examples

# Get started
lt start

# Check balance
lt balance

# See what tools are available
lt tools

# Validate an email address
lt email-validator --email [email protected]

# Evaluate a mathematical expression
lt calculator --expression "sqrt(144)"
lt calculator --expression "100 celsius to fahrenheit"

# Generate a QR code (PNG by default, use --format svg for SVG)
lt qr-code --content "https://example.com"
lt qr-code --content "https://example.com" --format svg

# Validate a phone number
lt phone-validator --phone +447911123456
lt phone-validator --phone 0861234567 --country IE

# Extract text from a URL
lt extract-text --url https://en.wikipedia.org/wiki/Node.js

# Date utilities
lt date-utils today --timezone Europe/Dublin --country IE
lt date-utils is-working-day --date 2026-04-03 --country IE
lt date-utils next-working-day --date 2026-04-02 --country IE
lt date-utils add-working-days --date 2026-04-01 --days 5 --country IE
lt date-utils meeting-windows --countries IE,US,DE --from-date 2026-04-14 --to-date 2026-04-18
lt date-utils convert-time --datetime "2026-03-15T14:30:00" --from-timezone America/New_York --to-timezone Asia/Tokyo

# Domain intelligence
lt domain-intelligence dns --domain example.com
lt domain-intelligence whois --domain example.com
lt domain-intelligence ssl --domain example.com
lt domain-intelligence http --domain example.com

# Top up 1000 credits
lt topup 1000