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

webcut

v0.2.9

Published

A powerful video editing canvas UI library for web applications

Downloads

99

Readme

📋 Table of Contents

Project Introduction

WebCut is a video editing UI framework specifically designed for web applications. It provides intuitive canvas interface and comprehensive timeline tools, enabling developers to easily perform video editing, text/graphic overlay, element layout and transformation operations in the browser, and integrate them into their applications in a modular way.

Design Philosophy

WebCut's core philosophy is "Complex Capabilities, Simple Usage". We believe that implementing professional-grade video editing on the web platform should not be a burden. Through componentized architecture and responsive APIs, developers can focus on creativity itself, rather than underlying details.

Our Design Principles

| Principle | Description | |-----------|-------------| | 🎯 User-First Design | Intuitive interfaces and clear documentation, reducing learning costs | | ⚡ Performance Optimization | Optimized for browser environments to ensure smooth operation | | 🔧 Extensibility | Modular design for easy customization and feature extension | | 🛡️ Type Safety | Comprehensive TypeScript support to reduce development errors

Core Features

Editing and Creation

| Feature | Description | |---------|-------------| | 🎨 Canvas Editing | Intuitive canvas-based editing interface, what you see is what you get | | 🎬 Player Control | Play/pause, progress and volume control, supporting frame-level precise operations | | 📝 Text Overlay | Multi-style text addition and customization, supporting rich text effects | | ⏱️ Timeline | Precise timeline control, supporting scaling, positioning and clip management | | 🎛️ Element Transformation | Intuitive scaling, rotation and position adjustment, supporting precise value input |

Auxiliary Tools

| Feature | Description | |---------|-------------| | 📏 Size Measurement | Accurate text, video and image size calculation and control | | 🧰 Utility Functions | Export Blob, text-to-image conversion and other practical features | | 📱 Responsive Design | Adapt to different screen sizes, providing consistent editing experience |

Project Showcase

Project screenshots or demo videos can be placed here

Quick Examples

Integration in Vue Project

The following example shows how to quickly integrate WebCut in a Vue project:

<script setup lang="ts">
// Import core components and styles
import { WebCutEditor } from 'webcut';
import 'webcut/esm/style.css';

// Project ID (example)
const yourProjectId = 'example-project';
</script>

<template>
  <div class="editor-container">
    <h1>Video Editor</h1>
    <!-- Use the complete editor component directly -->
    <WebCutEditor :project-id="yourProjectId" />
  </div>
</template>

<style scoped>
.editor-container {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
</style>

Tip: The above code will render a complete video editing interface, including video canvas, toolbar and timeline. You can also import components and tools from webcut as needed for customization.

Installation

WebCut supports installation via multiple package managers:

# Using npm
npm install webcut

# Using yarn
yarn add webcut

# Using pnpm
pnpm add webcut

Note: WebCut currently supports modern browser environments. Before use, please ensure that your project has configured the necessary polyfills (if supporting older browsers is required).

Documentation

WebCut provides detailed documentation to help you get started quickly:

  • API Documentation: Located in docs/api.md and docs/zh-cn/api.md
  • Component Documentation: Detailed component usage instructions
  • Quick Start Guide: Helping new users get started quickly
  • FAQ: Solutions and best practices

For online documentation, please visit our documentation site.

License

This project is licensed under the MIT License, allowing free use, modification, and distribution. See the file for details.

Acknowledgements

WebCut's development would not be possible without the support of the following excellent open-source projects:

Core Dependencies

Development Tools

Thank you to the contributors of these projects for their efforts to the open-source community!


Tip: If you like this project, please give us a ⭐️ support!