{"id":15740145,"url":"https://github.com/cyrilluce/html-to-ansi","last_synced_at":"2026-01-02T06:04:56.375Z","repository":{"id":256877123,"uuid":"856191252","full_name":"cyrilluce/html-to-ansi","owner":"cyrilluce","description":"Convert HTML span base text to chalked (ANSI) text.","archived":false,"fork":false,"pushed_at":"2024-09-14T02:00:01.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T08:38:53.721Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cyrilluce.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-09-12T06:36:41.000Z","updated_at":"2024-09-14T02:00:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"6377f7af-8bfe-4644-a078-5b9ea6a14bb0","html_url":"https://github.com/cyrilluce/html-to-ansi","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"cd28e5e5ca6f1da384f50a68790de2523909156e"},"previous_names":["cyrilluce/html-to-ansi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyrilluce%2Fhtml-to-ansi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyrilluce%2Fhtml-to-ansi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyrilluce%2Fhtml-to-ansi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyrilluce%2Fhtml-to-ansi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cyrilluce","download_url":"https://codeload.github.com/cyrilluce/html-to-ansi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243369893,"owners_count":20280097,"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-04T02:12:02.209Z","updated_at":"2026-01-02T06:04:56.304Z","avatar_url":"https://github.com/cyrilluce.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# html2ansi\n\nConvert HTML to ANSI colored text.\n\nOnline playground: \u003chttps://cyrilluce.github.io/html-to-ansi/\u003e\n\n## Usage\n\n### cli\n\n```sh\n# convert input.html to output.txt\nnpx html2ansi -f input.html -o output.txt\n# streaming\nnpx html2ansi -f input.html\n```\n\n### NodeJs\n\n```sh\nnpm i html2ansi -S\n```\n\n```ts\nimport { html2ansi } from 'html2ansi';\n\nconst ansi = html2ansi(html);\n```\n\n## TODOs\n\n- [ ] support `\u003cpre\u003e`\n- [ ] support colors supported in browser but not available with `chalk.xxx`\n\n\u003e PR is welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyrilluce%2Fhtml-to-ansi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcyrilluce%2Fhtml-to-ansi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyrilluce%2Fhtml-to-ansi/lists"}