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

netcafe-ai-tools

v0.5.0

Published

Vercel AI SDK tools that return finished files: PDF, docx, charts, subtitles, invoices, screenshots — one hosted endpoint, free quota, no API key to start.

Readme

netcafe-ai-tools

Vercel AI SDK tools that hand back finished files — PDF, docx, PPTX, chart PNG, SRT subtitles, invoices, screenshots — from one hosted endpoint. Free quota, no API key to start.

npm i netcafe-ai-tools zod
import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { netcafeTools } from 'netcafe-ai-tools';

const { text } = await generateText({
  model: openai('gpt-4o-mini'),
  tools: netcafeTools(),                    // anonymous free quota
  // tools: netcafeTools({ apiKey: 'sk-...' }),  // unlimited, billed to you
  maxSteps: 5,
  prompt: 'Turn this release note into a PDF and a shareable chart of the download counts.',
});

Every tool returns a hosted file URL (file_url / pdf_url / image_url) the model can hand back.

What's inside

33 curated tools.

Live data (new in 0.2): get_weather, get_air_quality, exchange_rate, stock_quote (China A-shares/HK/US), ip_lookup, china_reachability (test any URL from a real mainland-China network — status, latency, China DNS), domain_check (RDAP), ssl_check.

Chinese almanac (new in 0.2): lunar_calendar, bazi_chart (八字排盘), huangli (宜忌), pick_lucky_days (择吉日), cn_holiday (法定节假日/调休). Pure deterministic computation — millisecond responses, never hallucinated.

Utilities: timezone_convert, unit_convert, pinyin_convert.

Files & artifacts: web_search, md_to_pdf, md_to_docx, md_to_pptx, screenshot_url, render_diagram, make_chart, make_qr, audio_to_srt, transcribe_audio, convert_to_pdf, make_invoice, meeting_minutes, make_dockerfile, sql_from_description, compare_models, model_costs.

Want a subset? netcafeTools({ only: ['md_to_pdf', 'make_chart'] }). The full 95-tool catalog: https://ainetcafe.com/tools

Notes

  • No lock on the AI SDK version — tools are plain { description, parameters, execute }, so they work with AI SDK 4 and 5. zod is the only peer dependency.
  • compare_models and model_costs return real metered per-call cost, not list prices — the cost dataset is published CC BY 4.0 at https://ainetcafe.com/costs.
  • Beyond the free quota: pay-per-call (x402/USDC for agents, Stripe for humans) or an AllRouter key.

MIT.