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

vcursor-sdk

v1.0.27

Published

VCursor SDK for JavaScript/TypeScript - Generate videos from text, images, and URLs using AI

Readme

VCursor JavaScript / TypeScript SDK

Generate videos from text, images, and URLs using AI.

Installation

npm install vcursor-sdk

Quick Start

import { VCursor } from "vcursor-sdk";

const client = new VCursor({ apiKey: "vk-..." });

// Submit a video generation task
const resp = await client.submit("a cat playing piano in a jazz club");

// Wait for completion with progress callback
const result = await client.waitForCompletion(resp.task_id!, {
  onProgress: (p) => console.log(`${p.data.progress}%`),
});

console.log(result.data.products.url);

Agent Mode

const agent = await client.submitAgent(
  "create a 30s commercial for a coffee brand",
  { duration: "30s", aspect_ratio: "16:9" },
);

const result = await client.waitForAgentCompletion(agent.task_id, {
  onProgress: (p) => console.log(`${p.progress}% - ${p.current_stage}`),
});

console.log(result.video_url);

Concurrency Limiting

The server enforces per-user rate limits based on subscription tier:

| Tier | Standard Requests | Agent Requests | Window | | ---- | ----------------- | -------------- | ---------- | | Free | 3 | 1 | Lifetime | | Pro | 30/hr | 5/hr | Rolling 1h | | Plus | 120/hr | 15/hr | Rolling 1h |

// Check current rate limit status
const status = await client.checkConcurrency("standard");
console.log(`Used: ${status.used}/${status.limit}`);

// Client-side limit (capped at server limit)
const limited = new VCursor({ apiKey: "vk-...", maxConcurrency: 10 });

API Reference

new VCursor(options?)

| Option | Type | Description | | ---------------- | -------- | ------------------------------------------- | | apiKey | string | API key (falls back to env / config file) | | server | string | Server URL (falls back to env / config file) | | maxConcurrency | number | Client-side concurrency cap |

Methods

| Method | Description | | --------------------------------------- | -------------------------------------- | | submit(prompt, options?) | Submit a standard video generation task | | getProgress(taskId) | Get task progress | | waitForCompletion(taskId, options?) | Poll until task completes | | cancelTask(taskId) | Cancel a running task | | submitAgent(message, options?) | Submit an agent mode task | | getAgentProgress(taskId) | Get agent task progress | | waitForAgentCompletion(taskId, opts?) | Poll until agent task completes | | checkConcurrency(category?) | Check concurrency limit status |

Configuration

Config is loaded from ~/.vcursor/config.json (shared with the Python SDK and CLI).

Environment variables:

  • VCURSOR_API_KEY - API key
  • VCURSOR_SERVER - Server URL

License

MIT