Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

lottie-compress

1.1.3 • Public • Published

NPM Build Status

lottie compress

Install

npm i -S lottie-compress

Usage

import LottieCompress from 'lottie-compress';
 
(async () => {
  const lottieCompress = new LottieCompress(data);
  const ret = await lottieCompress.execute();
  assert(ret.tiny === '75');
})();

Options

  • lottieJson Lottie file json data, Support the json data and string.
  • options not support.

Install

npm i lottie-compress

DownloadsWeekly Downloads

3

Version

1.1.3

License

ISC

Unpacked Size

31.7 kB

Total Files

9

Last publish

Collaborators

  • avatar