Convert lottie/tgs file to image. Based on WebAssembly.
Features:
- Written in TypeScript
- Native ESM
- Out-of-the-box cross-platform support without annoying
node-gyp
- Non-blocking async support
[x] Node.js demo
[ ] Browser demo
[ ] Complete readme
[ ] Add tests
[ ] GIF support
[ ] Use wasm exception(expected after wider support)
This module require ES2020 syntax and bulk memory operations and threads support for WebAssembly.
The following versions are known to work, lower versions may also (with certain flags added) work, but are not guaranteed:
- Node.js >= 16
lottie2img itself is licensed under the MIT license, but some of the core dependencies (located in packages/core/third_party) are licensed under (like) the BSD 2/3-Clause license and are packaged together in wasm.
details