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

imgpptx

v0.5.2

Published

CLI and TypeScript client for imgpptx - Bidirectional document conversion between Images/PDF and PowerPoint

Readme

imgpptx

TypeScript/JavaScript client and CLI for imgpptx - Bidirectional document conversion between Images/PDF and PowerPoint.

Features

  • Interactive CLI with guided workflows
  • TypeScript client for programmatic access
  • Remote API support - connect to self-hosted or cloud imgpptx servers
  • Cross-platform - works on Windows, macOS, and Linux

Installation

Quick Install (all platforms)

npm install -g imgpptx

Windows Setup (Automated)

If you don't have Node.js installed, use our setup scripts:

PowerShell (Recommended):

# Download and run the setup script
irm https://raw.githubusercontent.com/zeidalqadri/imgpptx/main/npm-package/scripts/setup-imgpptx.ps1 | iex

# Or if you have the repo cloned:
.\scripts\setup-imgpptx.ps1

Command Prompt (Batch):

:: Download and run, or if you have the repo:
scripts\setup-imgpptx.bat

The setup scripts will:

  1. Check for Node.js installation
  2. Install Node.js via winget if missing
  3. Install imgpptx globally
  4. Verify the installation

Usage

Interactive Mode

imgpptx

This launches an interactive menu with options:

  • Round-trip conversion (PPTX → Images → PPTX)
  • Images to PPTX
  • PDF to PPTX
  • PPTX to Images
  • Configure API endpoint

Direct Commands

# Convert images to PPTX
imgpptx img2pptx image1.png image2.jpg -o presentation.pptx

# With AI-powered text extraction
imgpptx img2pptx slides/*.png -o output.pptx --decompose

# Convert PDF to PPTX
imgpptx pdf2pptx document.pdf -o slides.pptx

# Convert PPTX to images
imgpptx pptx2img presentation.pptx -o ./slides/

# Show help
imgpptx --help

Programmatic Usage (TypeScript)

import { ImgPptxClient } from 'imgpptx';

const client = new ImgPptxClient({
  baseUrl: 'http://localhost:8887',
});

// Check API health
const health = await client.health();
console.log('API Status:', health.status);

// Convert images to PPTX
const result = await client.imagesToPptx({
  images: ['slide1.png', 'slide2.png'],
  decompose: true,  // AI-powered text extraction
});
console.log('Output:', result.outputPath);

Configuration

API Endpoint

By default, the CLI uses http://localhost:8887. You can configure a different endpoint:

# Set via environment variable
export IMGPPTX_API_URL=http://your-server:8887

# Or configure interactively
imgpptx
# Select "Configure API endpoint"

Environment Variables

| Variable | Description | Default | |----------|-------------|---------| | IMGPPTX_API_URL | API server URL | http://localhost:8887 |

Self-Hosting

The imgpptx API server is a Python FastAPI application. See the main repository for server setup instructions.

Quick Server Start

# Install Python package
pip install imgpptx[ai]

# Start server
uvicorn imgpptx.api.server:app --host 0.0.0.0 --port 8887

Requirements

  • Node.js 18.0.0 or later
  • imgpptx API server (for conversion features)

License

MIT