npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

asconfigc

v1.8.1

Published

Builds an ActionScript & MXML project configured with asconfig.json, from simple compilation to packaging Adobe AIR apps.

Downloads

239

Readme

asconfigc

A command line utility that compiles an ActionScript project configured with an asconfig.json file. This utility parses the configuration file and runs the compiler with the appropriate options. It can also package an Adobe AIR application. Supports a variety of ActionScript SDKs, including Adobe AIR SDK & Compiler, Apache Flex, the Feathers SDK, and Apache Royale.

Installation

Requires Node.js.

npm install -g asconfigc

Command Line Usage

Run asconfigc in a directory containing an asconfig.json file.

The following options are available:

  • -p FILE OR DIRECTORY or --project FILE OR DIRECTORY

    Compile a project with the path to its configuration file or a directory containing asconfig.json. If omitted, will look for asconfig.json in current working directory.

  • --sdk DIRECTORY

    Specify the directory where the ActionScript SDK is located. If omitted, defaults to checking ROYALE_HOME, FLEX_HOME, and PATH environment variables for a supported SDK.

  • --debug=true or --debug=false

    Specify debug or release mode. Overrides the debug compiler option, if specified in asconfig.json.

  • --air PLATFORM

    Package the project as an Adobe AIR application. The allowed platforms include android, ios, windows, mac, bundle, and air.

  • --storepass PASSWORD

    The password used when signing and packaging an Adobe AIR application. If not specified, prompts for the password.

  • --clean

    Clean the output directory. Will not build the project.

  • --unpackage-anes

    (Advanced) Unpackage native extensions to the output directory when creating a debug build for the Adobe AIR simulator.

  • --verbose

    (Advanced) Displays more detailed output, including the full set of options passed to all programs.

  • --jvmargs

    (Advanced) Pass additional options to the Java Virtual Machine when running the compiler.

  • -h or --help

    Print help message.

  • -v or --version

    Print the version of asconfigc.

Module Usage

The asconfigc build utility may be loaded as a CommonJS module in a Node.js script.

const asconfigc = require("asconfigc");
const args = ["--sdk", sdkPath, "--debug"];
try {
	await asconfigc.buildWithArgs(args);
} catch(e) {
	// the build failed
	console.error(e);
}

Made with Apache Royale

The source code for the asconfigc utility is written in ActionScript. That's right, a utility that runs on Node.js — written in ActionScript and compiled with Apache Royale. Pretty cool, right?

Support this project

The ActionScript & MXML extension for Visual Studio Code and asconfigc are developed by Josh Tynjala with the support of community members like you.

Support Josh Tynjala on Patreon

Special thanks to the following sponsors for their generous support: