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

@charjit/cli

v0.1.0

Published

Command-line client for the Charjit media API: inspect a URL, download it, read its captions.

Readme

charjit

The command line for the Charjit media API. Turn a public media URL into a file you own: inspect it, download it, read its captions.

npm install -g @charjit/cli   # or: npx @charjit/cli status

The package is scoped; the command it installs is charjit.

Getting a key

export CHARJIT_API_KEY="ck_live_…"

Keys are self-serve. Create an account — the free plan starts immediately, with no approval step — and generate a key at charj.it/dashboard/keys. The secret is shown once, at creation.

charjit status needs no key at all, so it is the way to check the API is reachable before you have one.

Commands

charjit status                                   # platform health, no key needed
charjit account                                  # balance, plan, limits, calling key
charjit inspect "https://example.com/watch?v=…"   # what is behind a URL
charjit captions "https://…" --lang en > subs.vtt
charjit download "https://…" -f mp4 -o clip.mp4  # queue it, wait, save the file
charjit downloads                                # recent jobs
charjit download-get dl_…                        # one job
charjit cancel dl_…                              # cancel a queued job, credits back

--json prints the API's own JSON, unaltered, on every command:

charjit downloads --json | jq '.items[] | {id, status}'

Environment

| Variable | Meaning | | ----------------- | ----------------------------------------------- | | CHARJIT_API_KEY | Your API key. --key overrides it. | | CHARJIT_API_URL | API origin. Defaults to https://api.charj.it. | | NO_COLOR | Set to anything to disable colour. |

Exit codes

| Code | Meaning | | ---- | --------------------------------------------------------- | | 0 | Success. | | 1 | The API refused the request, or the arguments were wrong. | | 2 | A command that needs a key was run without one. |

A download that finishes failed also exits 1, so a script does not have to parse the output to notice.

Notes

  • Every POST carries an Idempotency-Key, so an interrupted charjit download that you re-run does not queue and bill the job twice.
  • Waiting uses the API's own Prefer: wait rather than a polling loop, so a long download costs one request a minute rather than one every two seconds.
  • No runtime dependencies. Node 20 or newer.

Full documentation: charj.it/docs