shaka-packager-static

Shaka Packager static binaries for Mac OSX, Linux and Windows

Usage no npm install needed!

<script type="module">
  import shakaPackagerStatic from 'https://cdn.skypack.dev/shaka-packager-static';
</script>

README

shaka-packager-static

Build Status

Shaka Packager static binaries for Mac OSX, Linux and Windows.

Supports macOS (64-bit), Linux (32 and 64-bit) and Windows (32 and 64-bit). The current shaka-packager version is 2.3.0.

Note: The version of shaka-packager-static follows SemVer. When releasing new versions, we do not consider breaking changes in shaka-packager itself, but only the JS interface (see below). To stop shaka-packager-static from breaking your code by getting updated, lock the version down or use a lockfile.

Installation

This module is installed via npm:

$ npm install shaka-packager-static

Example Usage

Returns the path of a statically linked packager binary on the local filesystem.

var packager = require('shaka-packager-static');
console.log(packager.path);
// /home/feedsbrain/workspaces/cool-project/node_modules/shaka-packager-static/bin/linux/x64/packager

Sources of the binaries

The build script downloads binaries from Shaka Packager Releases

Building the project

Run npm run build to build the project