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

0.1.9 • Public • Published

install

npm i lottie-minify

use

import { minify } from 'lottie-minify';

const miniData = minify(jsonData, {copy: false});
miniData === jsonData // true

minify(string)


config

key type default desc
copy boolean false copy source data
dropList string[] ['nm', 'tyName', 'n', 'mn', 'cl', 'ln'] dropKeyList
numberFixLength number 3 number precision

Package Sidebar

Install

npm i lottie-type

Weekly Downloads

1

Version

0.1.9

License

MIT

Unpacked Size

2.55 kB

Total Files

5

Last publish

Collaborators

  • ahaoboy