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 🙏

© 2024 – Pkg Stats / Ryan Hefner

vmix-js-utils

v4.0.16

Published

vMix utilities for JavaScript

Downloads

807

Readme

vMix-js-utils

package json version npm version npm downloads

NPM Badge

vMix API utility library for Javascript can be used in either frontend or backend applications (NodeJS).

It is recommended to import the package as a NPM package. Alternatively you can download the source code and included it as a library manually.

OBS - NodeJS utility for vMix

Note: The NodeJS utility for communicating with vMix is branched out in its own repository/package - See node-vmix for more info. The node-vmix package is only for NodeJS applications, used for easy connection to vMix instances.

This library can be used both in front-end and NodeJS projects.


Simple use

// Import all XML API functionality
import { XmlApi as vMixXmlApi } from 'vmix-js-utils'

// Import specific XML API functionality from the (sub)module
import { DataParser, Inputs } from 'vmix-js-utils/xml-api'

Purpose

This library is a set of utilities consisting of several modules. Each can be used on its own, but usually it makes more sense to make it interplay with some of the other modules. This is demonstrated in the examples.

The modules are coded as classes, meaning that they are constructed with specific parameters.

The source code is written in TypeScript, and compiled to javascript to allow it to be used as a npm package. It includes type declarations for TypeScript support, meaning that you can type defer i.e. the input types.

Documentation

Please read the documentation.

Installation and use

As a dependency using npm (or yarn)

The library is published at npmjs as a package, meaning that you can easily add the utilities as a dependency in your project. Found here: https://www.npmjs.com/package/vmix-js-utils

npm install vmix-js-utils --save
# or 'yarn add vmix-js-utils -d'

In your code the simplest way to import the modules is the following:

// ES6
import { DataParser, GeneralState } from 'vmix-js-utils/xml-api'

// or commonjs
const { DataParser, GeneralState } = require('vmix-js-utils/xml-api')
// ...

Standalone project / Fork

The code can be cloned and tested as needed from the source code. It is especially useful when deveoping and extending the functionality.

git clone https://github.com/jensstigaard/vmix-js-utils.git
cd vmix-js-utils

To run the project as standalone locally, you may want to first install the dependencies

npm install # or 'yarn'

Compile TypeScript source code to JavaScript code

npm build # or 'yarn build'

Run tests

npm test # or 'yarn test'

Examples

Work in progress.

XML API

Inputs

Authors

Jens Grønhøj Stigaard - [email protected] (http://jens.stigaard.info)

Contribution

You are more than welcome to contribute to the repository!

Roadmap

  • More examples
  • More tests
  • Perhaps more functionality