{"id":18057375,"url":"https://github.com/1computer1/canvas-writer","last_synced_at":"2025-04-05T10:22:50.874Z","repository":{"id":57193802,"uuid":"76504180","full_name":"1Computer1/canvas-writer","owner":"1Computer1","description":"Wrapper for node-canvas to help with drawing text. https://www.npmjs.com/package/canvas-writer","archived":false,"fork":false,"pushed_at":"2016-12-17T00:05:59.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-12T07:59:47.639Z","etag":null,"topics":[],"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/1Computer1.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}},"created_at":"2016-12-14T23:01:55.000Z","updated_at":"2022-03-09T07:38:16.000Z","dependencies_parsed_at":"2022-09-15T22:31:44.600Z","dependency_job_id":null,"html_url":"https://github.com/1Computer1/canvas-writer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1Computer1%2Fcanvas-writer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1Computer1%2Fcanvas-writer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1Computer1%2Fcanvas-writer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1Computer1%2Fcanvas-writer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1Computer1","download_url":"https://codeload.github.com/1Computer1/canvas-writer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247320241,"owners_count":20919739,"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":[],"created_at":"2024-10-31T02:07:34.460Z","updated_at":"2025-04-05T10:22:50.853Z","avatar_url":"https://github.com/1Computer1.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# canvas-writer\r\nWrapper for node-canvas to help with drawing text.\r\n\r\n### Example\r\n```js\r\nconst Canvas = require('canvas');\r\nconst CanvasWriter = require('canvas-writer');\r\n\r\nlet picture = new CanvasWriter(new Canvas(200, 200));\r\n\r\npicture.write('Hello world! Text that will probably be wrapped onto the next lines because it\\'s longer than that -\u003e ', 100, {\r\n    font: '16px \"Segoe UI\"',\r\n    style: 'white'\r\n});\r\n\r\nconsole.log(picture.toString());\r\n// Hello world!\r\n// Text that will\r\n// probably be\r\n// wrapped onto\r\n// the next lines\r\n// because it's\r\n// longer than\r\n// that -\u003e\r\n\r\npicture.saveFile('./mypicture.png'); // You're done!\r\n```\r\n\r\n### Documentation\r\nSee the [Github wiki](https://github.com/1Computer1/canvas-writer/wiki) for documentation, changelog, and more.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1computer1%2Fcanvas-writer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1computer1%2Fcanvas-writer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1computer1%2Fcanvas-writer/lists"}