Need private packages and team management tools?Check out npm Teams »

swf-build

1.0.4 • Public • Published

Build Status npm version

SWF Build

Install

npm install swf-build

Documentation

Simple Build

var swfBuild = require('swf-build');
 
swfBuild('./test/main.as',function(err, stdout, stderr){
    // output './test/main.swf'
}); 

Set output

swfBuild('./test/main.as','./test/swf/main.swf',function(err, stdout, stderr){
    // output './test/swf/main.swf'
}); 

Set parameters

swfBuild('./test/main.as','./test/swf/main.swf',{
    'library-path': [
        './test/libs'
    ],
    'source-path': [
        './test/zClass'
    ],
    'swf-version': 13,
    'use-gpu': true
},function(err, stdout, stderr){
    // output './test/swf/main.swf'
}); 

NPM


The MIT License

Install

npm i swf-build

DownloadsWeekly Downloads

0

Version

1.0.4

License

MIT

Last publish

Collaborators

  • avatar