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

@heulaulab/intai

v0.1.11

Published

AI-assisted prospect research CLI for small agencies and freelancers

Downloads

1,180

Readme

intai

npm version npm downloads License: MIT TypeScript

AI-powered prospect research CLI for operators — analyze businesses, detect inefficiencies, and craft personalized outreach.


Quick Start

# Install
npm install -g @heulaulab/intai

# Configure
intai config set api-key <your-api-key>

# Analyze
intai analyze https://example-gym.com

# Outreach
intai outreach https://example-gym.com

Features

Analyze — Scan websites for operational signals and identify automation opportunities

  • Manual scheduling detection
  • Communication gaps (phone/email-only contact)
  • Spreadsheet dependency
  • Admin bottlenecks
  • Customer friction points

Outreach — Generate personalized cold outreach based on real findings

  • Tailored subject lines
  • Pain-point focused messaging
  • Personalization notes for authenticity

Installation

Prerequisites

  • Node.js >= 18.0.0

npm

npm install -g @heulaulab/intai

pnpm

pnpm add -g @heulaulab/intai

yarn

yarn global add @heulaulab/intai

bun

bun add -g @heulaulab/intai

Run without installing

npx @heulaulab/intai analyze <url>
bunx @heulaulab/intai analyze <url>
pnpm exec @heulaulab/intai analyze <url>

Setup

Configure API Key

# Set via CLI (stored in ~/.intai/config.json)
intai config set api-key sk-...

# Or use environment variable
export OPENAI_API_KEY=sk-...

Supports OpenAI and compatible APIs:

intai config set base-url https://api.openai.com/v1
intai config set model gpt-4o

Usage

Analyze

intai analyze <url>
intai analyze <url> --json
intai analyze <url> -j

Outreach

intai outreach <url>
intai outreach <url> --json
intai outreach <url> -j

Configuration

intai config set api-key <key>
intai config set base-url <url>
intai config set model <model>
intai config get
intai config get api-key
intai config unset api-key

Commands

| Command | Description | |---------|-------------| | intai analyze <url> | Analyze a business website | | intai outreach <url> | Generate outreach message | | intai config set <key> <value> | Set configuration | | intai config get [key] | Get configuration | | intai config unset <key> | Remove configuration | | intai --help | Show help | | intai --version | Show version |


Detection Capabilities

Operational Signals

  • WhatsApp/phone/email-only contact (no booking system)
  • Manual scheduling (class schedules, appointments as images)
  • Spreadsheet dependency (managing data in spreadsheets)
  • Inventory complexity (large catalogs without management)
  • Repetitive admin tasks (RSVP via email, waitlists)
  • No self-service portals

Output Categories

  • Problems Detected — With severity levels (critical/moderate/minor)
  • Suggested Tools — With priority and rationale
  • Tech Stack — Detected technologies
  • Summary — Overall assessment

Development

# Clone
git clone https://github.com/heulaulab-dev/intai.git
cd intai

# Install
npm install

# Build
npm run build

# Link for local testing
npm link
intai <command>

# Watch mode
npm run dev

Architecture

intai/
├── src/
│   ├── index.ts           # Entry point, CLI setup
│   ├── commands/          # CLI commands
│   │   ├── analyze.ts
│   │   ├── outreach.ts
│   │   └── config.ts
│   ├── analyzers/        # Business logic
│   │   ├── analysis.ts
│   │   └── outreach.ts
│   ├── services/         # External integrations
│   │   ├── ai.ts
│   │   └── scraper.ts
│   ├── prompts/          # AI prompts
│   │   ├── analysis.ts
│   │   └── outreach.ts
│   ├── types/            # TypeScript types
│   │   └── index.ts
│   └── utils/            # Utilities
│       ├── env.ts
│       ├── url.ts
│       └── spinner.ts
├── dist/                 # Compiled output
├── package.json
├── tsconfig.json
└── README.md

Tech Stack

  • Runtime: Node.js 18+
  • Language: TypeScript 5.6
  • CLI: Commander.js
  • Scraping: Cheerio (lightweight, no browser needed)
  • AI: OpenAI SDK
  • Output: Chalk, Boxen, Ora

Scraping

By default, intai uses a lightweight scraper based on Cheerio that works without installing a browser. This is fast and has no system dependencies.

Optional: Enhanced scraping with Playwright

If you need better JavaScript-rendered content, install Playwright:

npm run install:browser
# or
npx playwright install chromium

License

MIT

Repository: https://github.com/heulaulab-dev/intai