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

simple-obs

v0.3.19

Published

### _The simplest way to control OBS from JS 🎥_

Readme

simple-obs

The simplest way to control OBS from JS 🎥

Downloads Downloads Build Size

Using obs-websocket can be difficult. Small manipulations of scenes and scene items are manageable, but keeping track of scenes, sources, settings, filters and more can quickly become a daunting task.

simple-obs aims to fix this. By working with Scene, Source, and SceneItem objects, you can have unparalleled control over your OBS layouts.

If you're familiar with databases, it's like an ORM for OBS!

Beta Warning

This library is not well tested and is still under heavy development. Feel free to use it, but make sure you make a backup of your scene collections before doing anything with simple-obs.

Features

  • Persistence across code reloads, so scenes and items aren't deleted and recreated each time you run your code
  • Automatic request batching
  • Scene, Source and SceneItem are designed to be overridden, allowing for complex layouts to be abstracted into subclasses
  • Easy integration into existing layouts with Scene.link(), allowing for incremental migration to simple-obs without handing over your entire layout to your code

Installation

  1. Install the fork of obs-websocket

    simple-obs exposes some functionality (eg. obs.clean(), Scene.remove()) that requires installing a custom fork of obs-websocket. This fork simply adds support for removing scenes, retaining all other previous functionality. simple-obs will support obs-websocket v5 when it is released, which has native support for removing scenes, and also v4 for backwards compatibility.

  2. Install simple-obs

    yarn add simple-obs

    or npm

    npm install simple-obs

    If using typescript, make sure you are at least using [email protected], as simple-obs uses some features of it to provide more accurate types for requests and events.

  3. Connect to OBS. See the example folder for more info.

Acknowledgements

  • JDudeTV for being the catalyst for this project, helping with development and using in production on his stream.
  • HannahGBS for adding RemoveScene support to the obs-websocket fork and helping with development and documenting source and filter types.
  • lclc98 for helping document source and filter types.