# JSMovin

> To generate "AE bodymovin" JSON format using JavaScript.

## Usage

### Use NPM or Yarn (Recommanded)

``` bash
npm install --save jsmovin # use npm
# or
yarn add jsmovin # use yarn
```

### Build By Yourself

#### Initialization

``` bash
npm install # use npm
# or
yarn # use yarn
```

#### Compile JSON Specification

``` bash
npm run spec # use npm
# or
yarn spec # use yarn
```

#### Build Bundle

``` bash
npm run build # use npm
npm run build:types # only generate .d.ts files
npm run build:js # only compile TypeScript to JavaScript
npm run build:bundle # only pack files to jsmovin(.min).js
# or
yarn build # use yarn
yarn build:types
yarn build:js
yarn build:bundle # same as previous
```

## APIs

Waiting...