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

@hygc/editor

v0.1.0

Published

Browser NLE video editor — Remotion preview, WebCodecs export (H.264/H.265/AV1), multi-track timeline, captions, transitions, voiceover. Host-adapter persistence.

Downloads

85

Readme

@hygc/editor

CI License: AGPL-3.0 / Commercial

A browser NLE video editor as an embeddable React package — Remotion-powered preview, client-side WebCodecs export, and a single host interface that wires it to any backend.

▶ Try the live demo — runs entirely in your browser: no signup, no backend, nothing uploaded anywhere.

The editor with the demo project open: multi-track timeline, keyframed zoom, styled captions

Features

  • Multi-track timeline — video, image, audio, and caption tracks; drag, trim, slice, snap; linked clip audio; lock/mute/reorder; Premiere-style track-select tools.
  • Keyframes — per-property animation tracks (position, scale, rotation, opacity, caption size/offset) with easing, edited from the inspector.
  • Transitions — fade, slide, pan, blur, zoom, wipe, spin, and more, with paired crossfades and adjustable motion blur.
  • Captions — global and per-clip styling with in/out animations; AI transcription plugs in through the host.
  • Audio — waveforms, fade envelopes, auto-ducking, in-editor voiceover recording.
  • Effects — non-destructive, reorderable per-clip effect stacks.
  • Export — fully client-side render via WebCodecs (H.264/H.265/AV1), or a host-provided server render farm with credits and history.

The demo is a reference host

The editor is host-agnostic: persistence, asset storage, and optional capabilities are supplied through one EditorHost adapter (src/host/types.ts). The demo/ app is a complete reference implementation in a few hundred lines — projects in localStorage, uploads in IndexedDB, bundled stock footage, and no server at all.

npm ci
npm run demo:dev

Embedding

Wrap EditorPage in an EditorHostProvider and supply your EditorHost adapter:

import { EditorHostProvider, EditorPage } from '@hygc/editor'

<EditorHostProvider host={myHost}>
  <EditorPage />   {/* expects a :projectId route param */}
</EditorHostProvider>

Required host surface: projects (get/saveState/rename), resolveAssetUrls, useAssetLibrary (a React hook), and an AssetBrowser component. Optional capabilities degrade gracefully when omitted: serverExport (render farm + credits + history), transcribeAudio (AI captions), projects.seed, assetPanelExtraTabs, exit. Implement the interface once against your own storage/asset backend and the editor is fully wired.

Consumers provide the Tailwind v4 theme: scan this package's source (@source "…/hygc-editor/src") and define the semantic tokens (--background, --primary, --clip-video-bg, …). The demo's theme.css documents the full token set and is a ready-made dark theme you can copy.

Install

Until it lands on the npm registry, install straight from GitHub:

npm install github:m333x/hygc-editor

This builds the package on install (tscdist/, ESM + .d.ts). Provide the peer dependencies listed in package.json (React 19, Remotion 4.0.475, etc.) and use a bundler (Vite/Next/webpack) for extensionless module resolution.

Development

npm ci             # install + build
npm run typecheck  # package types
npm test           # vitest — engine, stores, timeline math
npm run demo:dev   # run the demo host against the live source

Provenance

Extracted from HyGC's production monorepo, where a Supabase-backed host drives the same package. Public history starts at the extraction commit.

Stock media credits (demo)

License

Dual-licensed: AGPL-3.0-only for open-source use, commercial for proprietary use. See LICENSE and COMMERCIAL-LICENSE.md.