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

@studio-dev/vsdk-render-lambda

v0.0.8

Published

Render adapter for @studio-dev/vsdk that drives Remotion Lambda — deploy, render, progress, webhooks, and framework-agnostic HTTP handlers.

Readme

@studio-dev/vsdk-render-lambda

Render adapter for the Studio Video SDK (@studio-dev/vsdk) that drives Remotion Lambda. Drop into any Node 18+ backend — mounts in Hono, Next.js, Express, Fastify, NestJS, Bun, and Cloudflare Workers.

Install

# Runtime — every server that renders or polls
pnpm add @studio-dev/vsdk-render-lambda @remotion/lambda-client

# Deploy — only on the machine that runs `studio-sdk lambda deploy`
pnpm add -D @remotion/lambda

Three-step setup

1. Define your config:

import { defineConfig } from '@studio-dev/vsdk-render-lambda/config'

export default defineConfig({
  lambda: {
    region: 'eu-west-2',
    siteName: 'my-app',
    preset: 'standard',
  },
})

2. Deploy the Lambda function + Remotion site. The CLI ships in the same package — install once and run via your package manager:

pnpm exec studio-sdk lambda deploy
# npm exec  studio-sdk -- lambda deploy
# yarn      studio-sdk    lambda deploy
# bunx      studio-sdk    lambda deploy

Or as a package.json script:

{
  "scripts": { "lambda:deploy": "studio-sdk lambda deploy" }
}

For one-shot use without installing, the -p / --package flag is required because the bin name (studio-sdk) is intentionally separate from the package name:

pnpm dlx -p @studio-dev/vsdk-render-lambda studio-sdk lambda deploy
npx --package=@studio-dev/vsdk-render-lambda -- studio-sdk lambda deploy

The deploy output prints a functionName and serveUrl — paste those into your runtime env.

3. Mount the render API. Web-standard handler — works in every modern framework:

import { createLambdaRenderer } from '@studio-dev/vsdk-render-lambda'

const renderer = createLambdaRenderer({
  region: 'eu-west-2',
  functionName: process.env.VSDK_FUNCTION_NAME!,
  serveUrl: process.env.VSDK_SERVE_URL!,
})

const handler = renderer.createWebHandler({ basePath: '/api/render' })

export const GET = (req: Request) => handler(req)
export const POST = (req: Request) => handler(req)
export const DELETE = (req: Request) => handler(req)

For Express / Fastify / NestJS, wrap the handler with toNodeListener from @studio-dev/vsdk-render-lambda/node — see the Framework integration page in the docs.

What this package gives you

  • createLambdaRenderer(config) — render, render-still, progress, cancel, presign, cost
  • Web-standard HTTP handler factory with auth + lifecycle hooks
  • Signature-verified webhook helpers
  • studio-sdk CLI with deploy, teardown, ls, policy, regions, doctor subcommands
  • defineConfig + auto-discovered studio.config.{ts,js,mjs,cjs,json}
  • Light-client / heavy-deploy split — runtime servers only pull the light dependency

Docs

Full documentation is hosted at https://studio-dev.dev/docs/render-lambda — covers quickstart, deploy, rendering options, framework integration (Hono / Next / Express / Fastify / Nest / Bun / Workers), webhooks, IAM permissions, regions, concurrency, custom layers, cost tuning, troubleshooting, and a full API reference.