# bodymovin-to-avd

> Bodymovin to AVD converter

Latest version **1.0.8** (published 2019-04-11) · ISC license · 0 weekly downloads

## Install

```sh
npm install bodymovin-to-avd
pnpm add bodymovin-to-avd
yarn add bodymovin-to-avd
bun add bodymovin-to-avd
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.8 |
| Published | 2019-04-11 |
| First published | 2017-07-24 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 365.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 36 |
| Author | Hernan Torrisi |
| Maintainers | airnan |

## Links

- npm: https://www.npmjs.com/package/bodymovin-to-avd
- Repository: https://github.com/bodymovin/bodymovin-to-avd
- Homepage: https://github.com/bodymovin/bodymovin-to-avd#readme
- Issues: https://github.com/bodymovin/bodymovin-to-avd/issues
- npm.io page: https://npm.io/package/bodymovin-to-avd

## Dependencies (3)

- [xml](https://npm.io/package/xml.md) ^1.0.1
- [transformatrix](https://npm.io/package/transformatrix.md) ^1.1.1
- [transformation-matrix](https://npm.io/package/transformation-matrix.md) ^1.4.0

## Recent versions

- 1.0.8 (latest) — 2019-04-11
- 1.0.7 — 2019-04-11
- 1.0.6 — 2018-11-18
- 1.0.5 — 2017-08-07
- 1.0.4 — 2017-07-29
- 1.0.3 — 2017-07-26
- 1.0.2 — 2017-07-26
- 1.0.1 — 2017-07-25
- 1.0.0 — 2017-07-24

## README

# bodymovin-to-avd
Bodymovin to AVD converter

#Example of usage
````javascript
var avd_converter = require('./src/index.js');
var fs = require('fs');

fs.readFile("./exports/jsons/data.json",  "utf8",  function(error, data){
	process.on('unhandledRejection', function(err, promise) {
	    console.error('Unhandled rejection (promise: ', promise, ', reason: ', err, ').');
	});
	var prom = avd_converter(JSON.parse(data))
	prom.then(function(xml){
		fs.writeFile("./test.xml", xml, function(err) {
		    if(err) {
		        return console.log(err);
		    }

		    console.log("The file was saved!");
		}); 
	}).catch(function(err){
	 		console.log('catch');
 	});
	
})
````

---
_Source: https://npm.io/package/bodymovin-to-avd · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
