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

@attentionmachine/cli

v0.0.81

Published

The Attention Machine's video helper. It runs on your own computer and does the physical work of video editing: it measures a recording, uploads its audio, renders the finished cut, checks the result, adds captions, searches local overlays, and puts a fin

Readme

@attentionmachine/cli

The Attention Machine's video helper. It runs on your own computer and does the physical work of video editing: it measures a recording, uploads its audio, renders the finished cut, checks the result, adds captions, searches local overlays, and puts a finished video on a temporary link for posting. It never makes editing decisions — those happen on The Attention Machine's servers. Overlay search uses a small local model; frames, searches, camera places, and vectors never upload.

You don't install this yourself. Your AI runs it for you with npx when you ask for a video edit, using exact commands from The Attention Machine.

am doctor                                         is this computer ready?
am prepare "<clips…>" --edit ID --upload "URL"    measure + upload audio
                                                  (one video, several, or a folder)
am adopt --edit NEW --from OLD                    a new version reuses the recording
am render --edit ID --plan "URL" -o "OUT"         render the cut plan
am check --edit ID                                check the render, logged for us
am audit --edit ID --upload "URL"                 upload finished audio
am deliver --edit ID -o "OUT"                     move the finished video into place
                                                  (every video lands as .mp4, whatever -o says)
am captions prepare --edit ID [--upload "URL"]    cut sheet + measure for captions
am captions doctor                                ready to render captions?
am layers add --edit ID --file "F.html" --at S --for S
                                                  one layer file over a window — cards,
                                                  filters, footage, photos, zoom-ins are
                                                  all files in machine/layers/
am layers list|edit|remove|clear|confirm          see or change the layer plan
am layers --force                                 take newer stock files in machine/layers/
am layers index                                   remember what is in overlays/
am layers find "people on stage"                  find overlays by what the camera sees
am cuts --edit ID                                 every cut: trims to leave, retakes worth hiding
am sheet "<clip>" [--every S | --around S] [-o OUT.jpg]
                                                  one contact-sheet image of a local clip
                                                  (--around: one tile a second at that moment)
am deliver --edit ID --captions [--plan "URL"]    render every layer once + check sheet
am deliver --edit ID --captions -o "OUT"          move that rendered file into place
am deliver --edit ID --layers [-o "OUT"]          same, for a video with layers, no captions
am clean "<video>" --job ID --upload "URL"        clean the sound, rebuild the video
am publish --edit ID --upload "URL"               temporary public link for posting

Requires a Mac with an Apple chip (ffmpeg from Homebrew: brew install ffmpeg-full) or a Windows 10/11 computer (winget install ffmpeg --source winget --accept-source-agreements --accept-package-agreements), plus Node 20+. Rendering captions additionally needs Node 22+ (the renderer downloads a private browser on first run).

The first overlay search downloads a pinned local model (about 160 MB) into .attentionmachine/models/. Later searches reuse it. Frames, camera facts, vectors, and search words stay on the computer.