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

harmar-ai

v0.2.0

Published

Harmar subtitle API for agents and scripts — CLI, MCP server and typed client. Word-timed transcripts, SRT/VTT and styled captioned videos for Armenian, Russian, English and 50+ more languages, code-switching included.

Readme

harmar-ai

Command line, MCP server and typed client for the Harmar subtitle API: word-timed transcripts, SRT/VTT, and captioned videos — styled subtitles burned into the MP4, no watermark. Built for Armenian and for speech that switches between Armenian, Russian and English mid-sentence; 50+ other languages served through the same endpoint.

export HARMAR_API_KEY=hk_live_…          # https://harmar.ai/app/api — 10 free minutes
npx -y harmar-ai transcribe video.mp4 --lang auto --srt --out video.srt
# or a public link — a direct file URL, or a Google Drive / Dropbox share link
npx -y harmar-ai transcribe https://example.com/talk.mp4 --lang auto --srt --out talk.srt

# a captioned video in a saved style
npx -y harmar-ai save-style "Brand" --style '{"preset":"pill","font":"montserrat","accentColor":"#D4F25A"}'
npx -y harmar-ai transcribe reel.mp4 --lang auto --export --preset <id> --out reel-captioned.mp4

CLI

harmar transcribe <file|url> [--lang auto|hy|ru|en|…] [--translate-to xx]
                         [--srt|--vtt|--text] [--out path] [--no-wait]
harmar transcribe <file> --export (--preset <id> | --style-file s.json) --out captioned.mp4
harmar export <id> (--preset <id> | --style '{…}' | --style-file s.json) [--track xx] [--platform x] [--out f.mp4]
harmar export-status <id> · styles · presets · save-style <name> · delete-style <id>
harmar status <id> · srt <id> · vtt <id> · delete <id>
harmar languages · balance · usage · pricing
harmar mcp

An export needs the transcript to have been made with --keep-media (--export implies it); by default the source is deleted once the transcript exists. Exports are charged per second of media at the transcription rate and refunded if the render fails. One export at a time per account; up to 60 minutes; 1080p.

harmar --help lists every flag. Progress goes to stderr, the result to stdout (or --out). Exit codes: 0 ok, 1 API error (with the API's error code — insufficient_credits carries seconds_needed), 2 usage, 3 timed out waiting (the job keeps running; harmar status <id>).

MCP server — Claude Code, Claude Desktop, Cursor, Windsurf

claude mcp add harmar -e HARMAR_API_KEY=hk_live_… -- npx -y harmar-ai mcp

or in any mcp.json:

{
  "mcpServers": {
    "harmar": {
      "command": "npx",
      "args": ["-y", "harmar-ai", "mcp"],
      "env": { "HARMAR_API_KEY": "hk_live_…" }
    }
  }
}

Tools: harmar_transcribe (with keep_media), harmar_get_transcript, harmar_get_subtitles, harmar_list_styles, harmar_save_style, harmar_list_style_presets, harmar_delete_style_preset, harmar_export (with save_to for a local MP4), harmar_get_export, harmar_languages, harmar_balance, harmar_usage, harmar_pricing, harmar_delete_transcript. Errors come back as tool results with the API's code so the model can act on them.

Skill — Claude Code and other skill-aware agents

skills/harmar/SKILL.md teaches an agent the whole flow (CLI first, raw HTTP fallback). Copy it into your project's .claude/skills/harmar/ or your agent's skills directory.

Library

import { HarmarClient } from "harmar-ai";

const harmar = new HarmarClient(); // reads HARMAR_API_KEY
const t = await harmar.transcribe("talk.mp4", { sourceLang: "auto", translateTo: "en", keepMedia: true });
t.words;                                   // [{ text, start, end, speaker? }, …]
await harmar.subtitles(t.id, "srt", "en"); // the translated track

const preset = await harmar.saveStylePreset("Brand", { preset: "pill", font: "montserrat", accentColor: "#D4F25A" });
await harmar.exportVideo(t.id, { stylePresetId: preset.id, lang: "en", outPath: "talk-en.mp4" });

transcribe() = upload() + submit() + wait(); each is public. HarmarError carries status, code and params.

API

Fifteen routes, documented at https://harmar.ai/developers. Base URL https://api.harmar.ai, Authorization: Bearer hk_live_…. Prepaid credits charged per second of media, refunded on failure. Files up to 60 minutes.

Development

npm install && npm run build
HARMAR_API_URL=http://localhost:3901 HARMAR_API_KEY=… node dist/cli.js languages

MIT.