@dminc/vhs-utils

1.3.1 • Public • Published

@videojs/vhs-utils

vhs-utils serves two purposes:

  1. It extracts objects and functions shared throughout @videojs/http-streaming code to save on package size. See the original @videojs/http-streaming PR for details.
  2. It exports generic functions from VHS that may be useful to plugin authors.

Installation

npm install --save @videojs/vhs-utils

Usage

All utility functions are published under dist and can be required/imported like so:

import resolveUrl from '@videojs/vhs-utils/dist/resolve-url'; const resolveUrl = require('@videojs/vhs-utils/dist/resolve-url');

/@dminc/vhs-utils/

    Package Sidebar

    Install

    npm i @dminc/vhs-utils

    Weekly Downloads

    1

    Version

    1.3.1

    License

    MIT

    Unpacked Size

    43.2 kB

    Total Files

    26

    Last publish

    Collaborators

    • rraghav
    • rraghavdmi
    • yksingh