{"id":39250105,"url":"https://github.com/lottie/lottie-types","last_synced_at":"2026-01-18T00:02:06.861Z","repository":{"id":52343895,"uuid":"520921574","full_name":"lottie/lottie-types","owner":"lottie","description":"TypeScript definitions for Lottie animation format","archived":false,"fork":false,"pushed_at":"2025-09-08T11:04:32.000Z","size":177,"stargazers_count":14,"open_issues_count":3,"forks_count":2,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-10-17T06:58:31.701Z","etag":null,"topics":["definition","dts","lottie","typescript","typescript-definitions","typings"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lottie.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-08-03T14:48:03.000Z","updated_at":"2025-05-29T22:05:58.000Z","dependencies_parsed_at":"2024-03-25T19:22:32.337Z","dependency_job_id":"d599e44b-4bd8-4044-b3ab-bea1d051cac3","html_url":"https://github.com/lottie/lottie-types","commit_stats":{"total_commits":15,"total_committers":2,"mean_commits":7.5,"dds":0.1333333333333333,"last_synced_commit":"51524e9d08c83baf56da0cc96aa9c413ea23e4dc"},"previous_names":["lottie/lottie-types"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/lottie/lottie-types","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lottie%2Flottie-types","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lottie%2Flottie-types/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lottie%2Flottie-types/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lottie%2Flottie-types/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lottie","download_url":"https://codeload.github.com/lottie/lottie-types/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lottie%2Flottie-types/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28523039,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T23:53:28.710Z","status":"ssl_error","status_checked_at":"2026-01-17T23:52:20.131Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["definition","dts","lottie","typescript","typescript-definitions","typings"],"created_at":"2026-01-18T00:02:06.732Z","updated_at":"2026-01-18T00:02:06.849Z","avatar_url":"https://github.com/lottie.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lottie-types\n\n## Installation\n\n```bash\nnpm install --save @lottie-animation-community/lottie-types\n```\n\n## Summary\n\nThis package contains type definitions for Lottie animation format\n\n## Details\n\nThe project has been migrated from the [lottiefiles](https://github.com/lottiefiles) organization that has been used internally. The definition types have been built based on [lottie-docs/schema](https://lottiefiles.github.io/lottie-docs/schema/) with a few differences: firstly, some\nadditional informative type comments have been added through testing the schema types with real Lottie data; secondly,\nthe types constructed in a way to avoid duplications.\n\nInstead of writing the types manually, generating it automatically was considered but wasn't successful, for\nreason that most of the tools such as [quicktype](https://quicktype.io/),\n[json-schema-to-typescript](https://github.com/bcherny/json-schema-to-typescript) and\n[transform](https://github.com/ritz078/transform) don't work well with huge JSON-schema structures with many nested\nlayers and don't support [json-schema/draft/2020-12](https://json-schema.org/draft/2020-12/release-notes.html) features\nsuch as complicated conditionals, prefixItems, and some def reference scenarios.\n\nThe schema definitions have been synced with [marcusstenbeck/lottie-types](https://github.com/marcusstenbeck/lottie-types) as well.\n\n## Plan\n\n- auto-generate types from [lottie-docs/schema](https://lottiefiles.github.io/lottie-docs/schema/)\n- publish the final definition bundle to [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped)\n\n## Contribution\n\nThe following steps will get you setup to contribute changes to this repo:\n\n1. Fork the repo\n\n2. Run `yarn install` to get dependencies packages\n\n3. Sync any schema changes with [lottie-docs](https://github.com/LottieFiles/lottie-docs)\n\n4. Add changesets running `yarn changelog` for any reasonable change to your codebase. You must ensure Changesets are\n   included when making a Pull Request to merge to main branches. Please refer to the [changeset docs](https://github.com/changesets/changesets)\n\n5. Create a PR from `feature-branch` to `main`\n\n6. After merging to `main` the Github action will create another PR for only version bumping and changelog, which you\n   have to merge the PR manually\n\n7. the package will be released to the NPM and GitHub registry after the merging the Changeset PR\n\n## Commands\n\n| Command                  | Description                                                          |\n| ------------------------ | -------------------------------------------------------------------- |\n| `yarn clean`             | Deletes `index.d.ts` file                                            |\n| `yarn test`              | Run tests (wip)                                                      |\n| `yarn format:prettier`   | Format the code using prettier                                       |\n| `yarn build`             | Bundles all declaration type files into the single `index.d.ts` file |\n| `yarn changelog`         | Add a changeset changelog entry                                      |\n| `yarn changelog:check`   | Check pending changesets                                             |\n| `yarn changelog:version` | Update all the workspace projects versions using changesets          |\n| `yarn changelog:publish` | Publish the packages to the package repository                       |\n\n## License\n\n[MIT](./LICENSE) © [lottie-animation-community](https://github.com/lottie)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flottie%2Flottie-types","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flottie%2Flottie-types","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flottie%2Flottie-types/lists"}