Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

animatecc-dts

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

animatecc-dts

Toolkit to generate TypeScript type definitions from Adobe Animate HTML5 export.

latest
Source
npmnpm
Version
0.3.2
Version published
Maintainers
1
Created
Source

animatecc-dts

Commandline tool to generate TypeScript type definitions from Adobe Animate HTML5 export.

Adobe Animate CC (or CS6 with the CreateJS Toolkit) allows you to publish animated assets for use with the CreateJS suite of open source JS libraries to create rich, interactive experiences for HTML5.

Installation:

npm install -g animatecc-dts

Usage:

animatecc-dts libs/*.js
animatecc-dts libs/*.js --namespace egret
animatecc-dts libs/*.js --namespace PIXI

Adobe Animate HTML5 available bridges:

  • CreateJS (default)
  • PIXI (PixiFlash or pixi-animate)
  • egret-core (egret-animate)

Node.js API

Can be used directly in your node.js application through this API:

var fs = require("fs");
var animatecc = require('animatecc-dts');

var animation_data = fs.readFileSync('animation-lib.js');
var data = animatecc.generate(animation_data);
fs.writeFile('animation-lib.d.ts', data);

License

MIT

Keywords

createjs

FAQs

Package last updated on 03 Sep 2016

Did you know?

Socket

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