{"id":21691495,"url":"https://github.com/scientific-dev/emoji-canvas","last_synced_at":"2025-12-11T21:07:00.907Z","repository":{"id":136131682,"uuid":"354748922","full_name":"scientific-dev/emoji-canvas","owner":"scientific-dev","description":"An easy to use module to write text with parsed emojis (supports discord emojis too) in canvas for deno!","archived":false,"fork":false,"pushed_at":"2021-08-16T10:02:51.000Z","size":15,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T08:37:11.600Z","etag":null,"topics":["canvas","deno","emojis"],"latest_commit_sha":null,"homepage":"https://deno.land/x/emoji_canvas","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/scientific-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2021-04-05T07:03:46.000Z","updated_at":"2021-12-10T10:47:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"a650d278-ba89-4fb3-8952-bef4b27bd276","html_url":"https://github.com/scientific-dev/emoji-canvas","commit_stats":null,"previous_names":["scientific-guy/emoji-canvas"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scientific-dev%2Femoji-canvas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scientific-dev%2Femoji-canvas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scientific-dev%2Femoji-canvas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scientific-dev%2Femoji-canvas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scientific-dev","download_url":"https://codeload.github.com/scientific-dev/emoji-canvas/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248550370,"owners_count":21122929,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["canvas","deno","emojis"],"created_at":"2024-11-25T17:38:52.576Z","updated_at":"2025-12-11T21:06:55.603Z","avatar_url":"https://github.com/scientific-dev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Emoji Canvas\n\nAn easy to use module to write text with parsed emojis (supports discord emojis too) in [deno-canvas](https://deno.land/x/canvas@v1.1.3)!\n\n[![](https://www.codefactor.io/repository/github/scientific-dev/emoji-canvas/badge?style=for-the-badge)](https://www.codefactor.io/repository/github/scientific-dev/emoji-canvas)\n[![](https://img.shields.io/badge/VIEW-GITHUB-white?style=for-the-badge)](https://github.com/scientific-dev/emoji-canvas)\n[![](https://img.shields.io/github/v/tag/scientific-dev/emoji-canvas?style=for-the-badge\u0026label=version)](https://github.com/scientific-dev/emoji-canvas)\n\n## Example\n\n```ts\nimport Canvas, { dataURLtoFile, loadImage } from 'https://deno.land/x/canvas@v1.1.3/mod.ts';\nimport fillTextWithEmoji from \"https://raw.githubusercontent.com/scientific-dev/emoji-canvas/master/mod.ts\";\n\nconst canvas = Canvas.MakeCanvas(200, 200);\nconst ctx = canvas.getContext('2d');\n\nctx.fillRect(0, 0, 800 - 20, 800 - 20);\nctx.fillStyle = 'white';\nctx.font = '30px monospace';\n\nawait fillTextWithEmoji(ctx, 'Hi 🤣', 10, 40); \nDeno.writeFileSync(\"Test.png\", dataURLtoFile(canvas.toDataURL()))\n```\n\n![Example with unicode emojis](https://github.com/scientific-dev/emoji-canvas/blob/master/examples/example_1.png?raw=true)\n\nAnd using discord emojis!\n\n```ts\nawait fillTextWithEmoji(ctx, 'Hi \u003c:kek:819597288238088213\u003e', 10, 40); \n```\n\n![Example with discord emojis](https://github.com/scientific-dev/emoji-canvas/blob/master/examples/example_2.png?raw=true)\n\n\u003e This package was originally created by [@abh80](https://github.com/abh80) for node.js!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscientific-dev%2Femoji-canvas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscientific-dev%2Femoji-canvas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscientific-dev%2Femoji-canvas/lists"}