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

@encodeapi/cli

v0.2.1

Published

Command-line interface for the EncodeAPI video transcoding API

Readme

@encodeapi/cli

Command-line interface for EncodeAPI — create jobs, poll status, and estimate cost from your terminal.

Copyright 2026 EncodeAPI Australia

Install

npm install -g @encodeapi/cli

Or run without installing globally:

npx @encodeapi/cli jobs-create --input-url https://example.com/video.mp4

Setup

export ENCODEAPI_KEY=sk_test_your_key_here
# optional override:
export ENCODEAPI_BASE_URL=https://encodeapi.com/api/v1

Get API keys from encodeapi.com/dashboard/keys.

Examples

Create a sandbox encode job

encodeapi jobs-create \
  --input-url https://cdn.example.com/sample.mp4 \
  --profile mp4_1080p

Create an HLS ladder with webhook

encodeapi jobs-create \
  --input-url https://mybucket.s3.amazonaws.com/source.mp4 \
  --profile vod_hls \
  --webhook https://yourapp.com/webhooks/encode

Use a pipeline template (e.g. TikTok 9:16)

encodeapi jobs-create \
  --input-url https://example.com/video.mp4 \
  --template tiktok_9x16

Pin encode region

encodeapi jobs-create \
  --input-url https://example.com/video.mp4 \
  --profile mp4_1080p \
  --region eu-west

Ultrafast parallel encode (prepaid)

encodeapi jobs-create \
  --input-url https://example.com/video.mp4 \
  --profile mp4_1080p \
  --ultrafast

Get job status

encodeapi jobs-get cm123abc

Poll until complete

encodeapi jobs-wait cm123abc --timeout 3600 --interval 5

Estimate cost

encodeapi jobs-estimate \
  --input-url https://example.com/long-video.mp4 \
  --profile vod_hls

Batch create from JSON file

jobs.json:

{
  "jobs": [
    {
      "input": { "url": "https://a.mp4" },
      "pipeline": { "profile": "mp4_1080p" }
    },
    {
      "input": { "url": "https://b.mp4" },
      "pipeline": { "profile": "mp4_720p" }
    }
  ]
}
encodeapi jobs-batch jobs.json

List pipeline templates

encodeapi templates-list

Commands

| Command | Description | |---------|-------------| | jobs-create | Create an encoding job | | jobs-get <id> | Get job status and outputs | | jobs-wait <id> | Poll until completed, failed, or cancelled | | jobs-estimate | Price estimate without creating a job | | jobs-batch <file> | Create multiple jobs from JSON | | templates-list | List public pipeline templates |

Programmatic use

For Node.js applications, use the SDK instead:

npm install @encodeapi/sdk

See @encodeapi/sdk on npm.

License

MIT — Copyright 2026 EncodeAPI Australia