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

@xplainer/render-core

v0.0.4

Published

Remotion workspace template, the ownership-aware video scaffold generator (engine-owned composition shell, agent-owned scenes) and the render preflight.

Readme

@xplainer/render-core

Four things that travel together:

  • the Remotion workspace template under template/, copied onto your machine as the workspace your videos render inside — and materialiseWorkspace() / videoPaths(), which lay it out and never overwrite a file that is already there;
  • the ownership-aware scaffold generator, which writes the six files of a new video;
  • the narration port, which measures real speech into narration.wav, captions.json and the timings.json every scene length comes from; and
  • the render preflight, which refuses an unrenderable job before Chrome is ever launched.
npm i @xplainer/render-core

File ownership is the idea the package is built around

The engine owns five files — index.ts, types.ts, Root.tsx, Captions.tsx, Video.tsx — and the agent owns one, Scenes.tsx. scaffoldVideo() reports what it created, skipped and restored: an engine-owned file whose bytes drifted is restored from the template, and an agent-owned file is never touched. That is what keeps a hand-edited composition shell from producing a silently wrong MP4.

import { videoPaths, scaffoldVideo, narrate, assertRenderable, renderArgs } from "@xplainer/render-core";

Nothing here installs anything. materialiseWorkspace() copies the template files and creates the directories; remotionBinary() answers null for a workspace you have not run xplainer setup --workspace for, so a caller can tell you that rather than failing inside spawn.

The scaffold templates and the workspace template ship as readable, editable text on purpose: they land on your disk and you edit them. The exported surface is recorded in api/render-core.api.md in the repository.

Remotion

Rendering depends on Remotion, which is licensed commercially by Remotion AG on its own terms. This package declares Remotion; it never bundles it. The template/package.json it scaffolds names remotion and the @remotion/* packages, so your own package manager fetches them under Remotion's terms, on your machine, in your name — which makes you, plainly, the party operating Remotion.

Depending on the size of your company and how you use it, you may need your own Remotion licence — free for individuals and companies of up to three people, chargeable above that. See https://remotion.pro/license.

Docs

Licence

Apache-2.0. See LICENSE and NOTICE, both shipped inside this package. The Remotion licence above is separate and is not granted by it.