开发者社区> 镜像站> NPM> @videojs/vhs-utils
@videojs/vhs-utils
Objects and functions shared throughtout @videojs/http-streaming code
Last updated 16 hours ago by gkatsev .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @videojs/vhs-utils 
SYNC missed versions from official npm registry.

@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');

Current Tags

  • 2.2.1                                ...           experimental (2 months ago)
  • 2.3.0                                ...           latest (16 hours ago)

10 Versions

  • 2.3.0                                ...           16 hours ago
  • 2.2.1                                ...           2 months ago
  • 2.2.0                                ...           7 months ago
  • 2.1.0                                ...           7 months ago
  • 2.0.0                                ...           8 months ago
  • 1.3.0                                ...           10 months ago
  • 1.2.1                                ...           a year ago
  • 1.2.0                                ...           a year ago
  • 1.1.0                                ...           a year ago
  • 1.0.0                                ...           a year ago