{"id":30271556,"url":"https://github.com/43081j/fast-wrap-ansi","last_synced_at":"2025-08-16T04:38:31.191Z","repository":{"id":308063842,"uuid":"1031524563","full_name":"43081j/fast-wrap-ansi","owner":"43081j","description":"A tiny and fast library for word wrapping terminal output.","archived":false,"fork":false,"pushed_at":"2025-08-11T02:58:44.000Z","size":182,"stargazers_count":5,"open_issues_count":13,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-11T15:37:11.108Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/43081j.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"43081j"}},"created_at":"2025-08-03T23:26:14.000Z","updated_at":"2025-08-05T19:26:52.000Z","dependencies_parsed_at":"2025-08-03T23:43:07.159Z","dependency_job_id":"0a57552c-d010-4b7e-855e-4d10003502dc","html_url":"https://github.com/43081j/fast-wrap-ansi","commit_stats":null,"previous_names":["43081j/fast-wrap-ansi"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/43081j/fast-wrap-ansi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/43081j%2Ffast-wrap-ansi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/43081j%2Ffast-wrap-ansi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/43081j%2Ffast-wrap-ansi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/43081j%2Ffast-wrap-ansi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/43081j","download_url":"https://codeload.github.com/43081j/fast-wrap-ansi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/43081j%2Ffast-wrap-ansi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270669358,"owners_count":24625436,"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","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-08-16T04:38:30.603Z","updated_at":"2025-08-16T04:38:31.182Z","avatar_url":"https://github.com/43081j.png","language":"TypeScript","funding_links":["https://github.com/sponsors/43081j"],"categories":["Utilities"],"sub_categories":["Command Line Interfaces (CLI)"],"readme":"# fast-wrap-ansi\n\nWordwrap a string, taking ANSI escape codes into account.\n\nA fast, light fork of the `wrap-ansi` package.\n\n\n## Install\n\n```bash\nnpm i -S fast-wrap-ansi\n```\n\n## Usage\n\n```ts\nimport {wrapAnsi} from 'fast-wrap-ansi';\n\nconst str = 'This is a string with some \\x1b[31mANSI\\x1b[39m codes.';\nconst wrapped = wrapAnsi(str, 20);\nconsole.log(wrapped);\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F43081j%2Ffast-wrap-ansi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F43081j%2Ffast-wrap-ansi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F43081j%2Ffast-wrap-ansi/lists"}