🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@videojs/vhs-utils

Package Overview
Dependencies
Maintainers
17
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@videojs/vhs-utils

Objects and functions shared throughtout @videojs/http-streaming code

next
latest
Source
npmnpm
Version
4.1.2
Version published
Weekly downloads
1.2M
1.02%
Maintainers
17
Weekly downloads
 
Created
Source
  • @videojs/vhs-utils

@videojs/vhs-utils

vhs-utils serves two purposes:

  • 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.
  • 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:

es import using es dist

import resolveUrl from '@videojs/vhs-utils/es/resolve-url';

cjs import using cjs dist

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

depricated cjs dist

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

Keywords

videojs

FAQs

Package last updated on 19 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts