{"id":13537871,"url":"https://github.com/metaory/mini-ansi","last_synced_at":"2026-02-03T05:30:58.450Z","repository":{"id":244904279,"uuid":"816664928","full_name":"metaory/mini-ansi","owner":"metaory","description":"🎨 Tiny ANSI color escape utility in under 10 line!","archived":false,"fork":false,"pushed_at":"2024-06-18T07:55:35.000Z","size":262,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-06T08:56:10.919Z","etag":null,"topics":["ansi","color","javascript","js","npm","npm-package"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/mini-ansi","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/metaory.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-18T07:15:29.000Z","updated_at":"2025-08-17T10:52:47.000Z","dependencies_parsed_at":"2024-06-26T08:20:12.288Z","dependency_job_id":null,"html_url":"https://github.com/metaory/mini-ansi","commit_stats":null,"previous_names":["metaory/mini-ansi"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/metaory/mini-ansi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaory%2Fmini-ansi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaory%2Fmini-ansi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaory%2Fmini-ansi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaory%2Fmini-ansi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metaory","download_url":"https://codeload.github.com/metaory/mini-ansi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaory%2Fmini-ansi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29034196,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T02:28:16.591Z","status":"ssl_error","status_checked_at":"2026-02-03T02:27:48.904Z","response_time":96,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["ansi","color","javascript","js","npm","npm-package"],"created_at":"2024-08-01T09:01:04.456Z","updated_at":"2026-02-03T05:30:58.432Z","avatar_url":"https://github.com/metaory.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\".github/assets/mini-ansi-icon.png\" width=\"200px\"/\u003e\n  \u003ch1\u003emın̶ı AN̶S̶I\u003c/h1\u003e\n  \u003ch4\u003eminimal ansi escape colors\u003c/h4\u003e\n  \u003ch5\u003ezero dependencies\u003c/h5\u003e\n\u003c/div\u003e\n\n\n---\n\n## DESCRIPTION\n\nMinimal ANSI color escape utility in [under 10 lines](src/index.js)!\n\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg alt=\"pcall_usage\" src=\"https://raw.githubusercontent.com/metaory/mini-ansi/master/.github/assets/mini-ansi-source.png\"\u003e\n  \u003cp\u003e\u003ca href=\"https://github.com/metaory/mini-ansi/blob/master/src/index.js\"\u003esrc/index.js\u003c/a\u003e\u003c/p\u003e\n\u003c/div\u003e\n\n---\n\nUsage\n-----\n\n```sh\n# install\nnpm install mini-ansi\n```\n\n```js\n// const ansi = require('mini-ansi') // CJS\nimport C from 'mini-ansi' // ESM\nconst { log } = console\n\nlog(C.f2('green fg'), 'normal text', C.b4(' red bg '))\nlog('norm', C.f1b3('red fg and yellow bg'), 'orrr', C.b2f6('cyan fg ongreen bg'))\n```\n\n\n\u003e [!Caution]\n\u003e ONLY SUPPORT base16\n\u003e\n\u003e - `f` or `b` can come in any order\n\n\n\u003e [!Important]\n\u003e NOT_IMPLEMENTED\n\u003e\n\u003e - color names\n\u003e - modifiers\n\u003e - background color\n\u003e - tag function for template literals\n\u003e - chained calls\n\n## Why not ...\n\n- [ ] TODO: WRITE REASONS!\n\n\n---\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetaory%2Fmini-ansi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetaory%2Fmini-ansi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetaory%2Fmini-ansi/lists"}