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

@agentmediatools/sdk

v0.1.0

Published

JavaScript SDK for Agent Media Tools — image processing, PDF, AI generation, web tools, and 70+ API endpoints

Readme

Agent Media Tools — JavaScript SDK

npm Node 18+

JavaScript/TypeScript client for Agent Media Tools — image processing, PDF manipulation, AI generation, web scraping, QR codes, pastebin, and 70+ API endpoints.

Installation

npm install @agentmediatools/sdk

Quick Start

Free tier — no API key needed

import { Client } from '@agentmediatools/sdk';
// or: const { Client } = require('@agentmediatools/sdk');

import fs from 'node:fs';

const client = new Client();

// 🖼️ Resize an image
const result = await client.image.resize(fs.readFileSync('photo.jpg'), {
  width: 800,
  format: 'webp'
});
fs.writeFileSync('photo.webp', result);

// 🔗 Generate a QR code
const qr = await client.qrcode.generate('https://example.com');
fs.writeFileSync('qrcode.png', qr);

// 🛠️ Generate a UUID
console.log(await client.dev.uuid());

With API key — for premium endpoints

import { Client } from '@agentmediatools/sdk';

const client = new Client({ apiKey: 'mt_your_key_here' });

// 🌐 Scrape a web page
const content = await client.scrape('https://example.com');
console.log(content);

// 🎨 Generate an AI image
const result = await client.ai.generateImage('a serene mountain lake at sunset', {
  model: 'flux',
  wait: true
});
console.log(result.result.images[0].url);

Namespaces

| Namespace | Description | |-----------|-------------| | client.image.* | Image processing — resize, convert, compress, analyze, crop, batch | | client.pdf.* | PDF tools — merge, split, compress, rotate, toText, toImages, fromImages | | client.ai.* | AI generation — generateImage, generateVideo, transcribe, removeBg, ocr | | client.web.* | Web page tools — screenshot, htmlToPdf, articleExtract | | client.intel.* | Intelligence — dnsLookup, sslCheck, ogPreview, regexTest, colorConvert | | client.tools.* | Utilities — csvConvert, caseConvert, slugify, zipFiles, videoInfo | | client.agent.* | Agent — identity, approvals, receipts, jobs, heartbeat, shop, provisioning | | client.mailbox.* | Mailbox — create, post, poll, peek, claim | | client.artifact.* | Artifact store — upload, get, raw | | client.pastebin.* | Text pastes | | client.qrcode.* | QR code generation | | client.shortener.* | URL shortening | | client.webhook.* | Webhook inboxes | | client.jwt.* | JWT decoding | | client.jsonTools.* | JSON formatting, validation, minification | | client.dev.* | Developer tools — ip, uuid, password, hash, base64, units, diff |

Requirements

  • Node.js 18+
  • node-fetch (automatically installed)

Documentation

Full API docs: https://agentmediatools.com/docs

Integration guide: https://agentmediatools.com/integrations

License

MIT