Skip to content

Latest commit

 

History

History
72 lines (55 loc) · 1.37 KB

README.md

File metadata and controls

72 lines (55 loc) · 1.37 KB

Deprecated. please use https://github.com/boltframe/aftereffects-aep-parser

aepx.js

License

This project tries to convert aepx to readable json.
Inspired by

Install

npm i aepx

Usage

.parse()

callback api

const aepx = require('aepx');

let data = '<AfterEffectsProject></AfterEffectsProject>';

aepx.parse(data, (err, project) => {
  console.log(project);
});

promise api

const aepx = require('aepx');

let data = '<AfterEffectsProject></AfterEffectsProject>';

aepx.parse(data)
  .then(project => console.log(project));

.parseSync()

const aepx = require('aepx');

let data = '<AfterEffectsProject></AfterEffectsProject>';

console.log(aepx.parseSync(data));

.parseFile()

callback api

const aepx = require('aepx');

aepx.parseFile('./input/empty.aepx', (err, project) => {
  console.log(project);
});

promise api

const aepx = require('aepx');

aepx.parseFile('./input/empty.aepx')
  .then(project => console.log(project));

.parseFileSync()

const aepx = require('aepx');

console.log(aepx.parseFileSync('./input/empty.aepx'));

License

  • MIT