{"id":22541354,"url":"https://github.com/kayahr/aseprite","last_synced_at":"2026-04-15T20:02:48.455Z","repository":{"id":168395588,"uuid":"644108172","full_name":"kayahr/aseprite","owner":"kayahr","description":"A set of TypeScript interfaces and enums, API documentation, JSON file typings and JSON schema for Aseprite JSON files.","archived":false,"fork":false,"pushed_at":"2026-04-02T16:12:22.000Z","size":326,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-03T04:30:14.846Z","etag":null,"topics":["aseprite","json","schema","sprite","spritesheet","typescript","typings"],"latest_commit_sha":null,"homepage":"https://kayahr.github.io/aseprite/","language":"TypeScript","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/kayahr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/funding.yml","license":"LICENSE.md","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},"funding":{"github":"kayahr","custom":"https://paypal.me/kayaahr/"}},"created_at":"2023-05-22T20:45:24.000Z","updated_at":"2026-04-02T16:12:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"36b01e0d-73fe-4f3a-8731-2a1c5f820854","html_url":"https://github.com/kayahr/aseprite","commit_stats":null,"previous_names":["kayahr/aseprite"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/kayahr/aseprite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kayahr%2Faseprite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kayahr%2Faseprite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kayahr%2Faseprite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kayahr%2Faseprite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kayahr","download_url":"https://codeload.github.com/kayahr/aseprite/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kayahr%2Faseprite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31857625,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"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":["aseprite","json","schema","sprite","spritesheet","typescript","typings"],"created_at":"2024-12-07T12:15:32.837Z","updated_at":"2026-04-15T20:02:48.438Z","avatar_url":"https://github.com/kayahr.png","language":"TypeScript","funding_links":["https://github.com/sponsors/kayahr","https://paypal.me/kayaahr/"],"categories":[],"sub_categories":[],"readme":"aseprite\n========\n\n[GitHub] | [NPM] | [API Doc]\n\nA set of TypeScript interfaces and enums, API documentation, JSON file typings and JSON schema for [Aseprite] JSON files.\n\nInstallation\n------------\n\n```sh\nnpm install @kayahr/aseprite\n```\n\nTypes\n-----\n\nYou can use the provided interfaces and enums to work with Aseprite JSON data in a type-safe way:\n\n```typescript\nimport * as aseprite from \"@kayahr/aseprite\";\n\nconst response = await fetch(\"spaceship.aseprite.json\");\nconst spaceship = (await response.json()) as aseprite.SpriteSheet;\nconst image = spaceship.meta.image;\nconst isRGBA = spaceship.meta.format === aseprite.Format.RGBA8888;\n```\n\nJSON file typings\n-----------------\n\nThis project provides typings for JSON files with the file pattern `*.aseprite.json`. So when you name your JSON files like this and your module loader supports importing JSON files then you can import the sprite sheets right away and TypeScript already knows the type and can validate your code:\n\n```typescript\nimport * as aseprite from \"@kayahr/aseprite\";\nimport spaceship from \"../sprites/spaceship.aseprite.json\" with { type: \"json\" };\n\nconst image = spaceship.meta.image;\nconst isRGBA = spaceship.meta.format === aseprite.Format.RGBA8888;\n```\n\nNote that you have to import `@kayahr/aseprite` somewhere in your application at least once or otherwise TypeScript doesn't load the typings for `*.aseprite.json` files. If you don't actually need to import an actual type then simply do `import \"@kayahr/aseprite\"` somewhere in your code or add `node_modules/@kayahr/aseprite/typings/aseprite.json.d.ts` to the include list in your `tsconfig.json`.\n\nJSON schema\n-----------\n\nIn case you want to validate Aseprite JSON files or benefit from completion while editing these files there is also a [JSON schema file](https://kayahr.github.io/aseprite/aseprite.schema.json) which is automatically generated from the TypeScript types.\n\nYou can also access the schema file via your module loader by importing `@kayahr/aseprite/aseprite.schema.json`.\n\nAPI documentation\n-----------------\n\nThe interfaces and enums describing the Aseprite JSON format are documented so VSCode displays the documentation during completion and in tooltips. There is also a [HTML API documentation](https://kayahr.github.io/aseprite/).\n\n\n[API Doc]: https://kayahr.github.io/aseprite/\n[GitHub]: https://github.com/kayahr/aseprite\n[NPM]: https://www.npmjs.com/package/@kayahr/aseprite\n[Aseprite]: https://www.aseprite.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkayahr%2Faseprite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkayahr%2Faseprite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkayahr%2Faseprite/lists"}