lottie-compress
TypeScript icon, indicating that this package has built-in type declarations

1.1.4 • 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.

Package Sidebar

Install

npm i lottie-compress

Weekly Downloads

155

Version

1.1.4

License

ISC

Unpacked Size

28.3 kB

Total Files

7

Last publish

Collaborators

  • chenpx976
  • weiesky