1.0.0 • Published 5 years ago

lottie-optim v1.0.0

Weekly downloads
8
License
MIT
Repository
github
Last release
5 years ago

LottieOptim

A simple and lightweight tool to optimise lottie files.

  • Reduced decimal precision (color values excluded)
  • Remove unused fields: nm, mn, hd, ks.r, ks.s, ix, np, cix
  • Minify JSON

Usage

npx lottie-optim [options] <file>

Options:
  -V, --version             output the version number
  -p, --precision <number>  Round numbers to a number of decimal places to reduce filesize (default: 2)
  -o, --out <file>          Output file, without this option the original file with be overridden
  -h, --help                output usage information
1.0.0

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago