Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

playerglobal-latest

JamesMGreene255MIT0.1.7

A Node.js module wrapper for downloading/installing ALL versions of the "playerglobal.swc" API library in order to target all modern versions of Flash Player.

playerglobal, playerglobal.swc, latest, flash, flashplayer, swf, flex, build, download, install

readme

Build Status

node-playerglobal-latest

A Node.js module wrapper for downloading/installing ALL versions of the "playerglobal.swc" API library in order to target all modern versions of Flash Player. Downloads the latest versions upon install, rather than during prepublish.

As such, a consumer can always just run npm update/npm install to get the latest updates despite the module's version being unchanged. A bastardization of Semantic Versioning, yes, but very useful nonetheless.

If you don't like this non-idempotent behavior, check out JamesMGreene/node-playerglobal instead.

Install

npm install playerglobal-latest

Usage

var pg = require('playerglobal-latest');

console.log('PlayerGlobal root path: ' + pg.path);

// Install the PlayerGlobal dir into a Flex SDK dir
var FLEX_HOME = process.env['FLEX_HOME'] || __dirname;
pg.install(FLEX_HOME, function(err) {
  if (err) {
    console.error('Failed to install the Flash API libraries!\nError: ' + err);
  }
});