https://github.com/actumn/aepx.js
Parse an After Effects project xml file as a readable JSON object
https://github.com/actumn/aepx.js
aep aepx after-effects
Last synced: 4 months ago
JSON representation
Parse an After Effects project xml file as a readable JSON object
- Host: GitHub
- URL: https://github.com/actumn/aepx.js
- Owner: actumn
- License: mit
- Created: 2019-01-30T13:21:40.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-02-11T15:25:14.000Z (over 4 years ago)
- Last Synced: 2025-11-23T19:04:38.913Z (7 months ago)
- Topics: aep, aepx, after-effects
- Language: JavaScript
- Homepage:
- Size: 238 KB
- Stars: 40
- Watchers: 2
- Forks: 8
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
*Deprecated. please use https://github.com/boltframe/aftereffects-aep-parser*
# aepx.js
[](https://github.com/actumn/aepx.js/blob/master/LICENSE)
This project tries to convert aepx to readable json.
Inspired by
- https://github.com/inlife/aftereffects-project-research
- https://github.com/Jam3/ae-to-json
## Install
```bash
npm i aepx
```
## Usage
### .parse()
callback api
```javascript
const aepx = require('aepx');
let data = '';
aepx.parse(data, (err, project) => {
console.log(project);
});
```
promise api
```javascript
const aepx = require('aepx');
let data = '';
aepx.parse(data)
.then(project => console.log(project));
```
### .parseSync()
```javascript
const aepx = require('aepx');
let data = '';
console.log(aepx.parseSync(data));
```
### .parseFile()
callback api
```javascript
const aepx = require('aepx');
aepx.parseFile('./input/empty.aepx', (err, project) => {
console.log(project);
});
```
promise api
```javascript
const aepx = require('aepx');
aepx.parseFile('./input/empty.aepx')
.then(project => console.log(project));
```
### .parseFileSync()
```javascript
const aepx = require('aepx');
console.log(aepx.parseFileSync('./input/empty.aepx'));
```
## License
- MIT