animatecc-dts

0.3.2 • Public • Published

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:

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

Package Sidebar

Install

npm i animatecc-dts

Weekly Downloads

7

Version

0.3.2

License

MIT

Last publish

Collaborators

  • endel