Socket
Socket
Sign inDemoInstall

air-sdk

Package Overview
Dependencies
144
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    air-sdk

AIR SDK for nodejs


Version published
Weekly downloads
54
increased by25.58%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

air-sdk

Code Climate Test Coverage

A NPM wrapper for the Adobe AIR SDK. The idea it to provide simple access to AIR_SDK binaries using node. The package has been set up to fetch the Adobe AIR SDK and run mxmlc, fdb, compc, optimizer, swcdepends, etc for MacOS, Linux based platforms and Windows.

Building and Installing

npm install air-sdk 
npm install -g air-sdk #installing globally

Download the source and run the tests.

npm install .
npm test

Usage for (Mac, Linux)

var airSdk = require('air-sdk');
var mxmlc = airSdk.bin.mxmlc;
var src = '/fixtures/ErrorApp.as');
var childArgs = [mxmlc, '+configname=air', src];
childProcess.execFile('/bin/sh', mxmlcArgs, function(err, stdout, stderr) {
	console.log('Swf file generated');
});

External Dependencies

If you intend to use this module after it is installed, almost all of the Flex SDK binary/executable files have an implicit dependency on Java being installed on the system and that it is available in the PATH such that it can be invoked just by typing the command java.

Keywords

FAQs

Last updated on 12 Mar 2015

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc