{"id":13837580,"url":"https://github.com/voxpelli/markdown-or-chalk","last_synced_at":"2025-09-13T00:31:49.439Z","repository":{"id":182593895,"uuid":"668769335","full_name":"voxpelli/markdown-or-chalk","owner":"voxpelli","description":"Prints through a single interface as Chalk enhanced CLI output or as Markdown","archived":false,"fork":false,"pushed_at":"2024-04-30T07:22:56.000Z","size":134,"stargazers_count":6,"open_issues_count":8,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-01T12:23:56.216Z","etag":null,"topics":["chalk","cli","markdown"],"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/voxpelli.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":"2023-07-20T14:49:30.000Z","updated_at":"2024-05-06T23:34:32.178Z","dependencies_parsed_at":"2024-04-15T23:27:53.632Z","dependency_job_id":"484e866b-bbcd-4ae2-a5c7-60fd1fa303f5","html_url":"https://github.com/voxpelli/markdown-or-chalk","commit_stats":null,"previous_names":["voxpelli/markdown-or-chalk"],"tags_count":4,"template":false,"template_full_name":"voxpelli/node-module-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxpelli%2Fmarkdown-or-chalk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxpelli%2Fmarkdown-or-chalk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxpelli%2Fmarkdown-or-chalk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxpelli%2Fmarkdown-or-chalk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/voxpelli","download_url":"https://codeload.github.com/voxpelli/markdown-or-chalk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232802746,"owners_count":18578681,"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":["chalk","cli","markdown"],"created_at":"2024-08-04T15:01:15.279Z","updated_at":"2025-01-06T23:45:38.181Z","avatar_url":"https://github.com/voxpelli.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Markdown or Chalk\n\nPrints through a single interface as Chalk enhanced CLI output or as Markdown\n\n[![npm version](https://img.shields.io/npm/v/markdown-or-chalk.svg?style=flat)](https://www.npmjs.com/package/markdown-or-chalk)\n[![npm downloads](https://img.shields.io/npm/dm/markdown-or-chalk.svg?style=flat)](https://www.npmjs.com/package/markdown-or-chalk)\n[![neostandard javascript style](https://img.shields.io/badge/code_style-neostandard-7fffff?style=flat\u0026labelColor=ff80ff)](https://github.com/neostandard/neostandard)\n[![Module type: ESM](https://img.shields.io/badge/module%20type-esm-brightgreen)](https://github.com/voxpelli/badges-cjs-esm)\n[![Types in JS](https://img.shields.io/badge/types_in_js-yes-brightgreen)](https://github.com/voxpelli/types-in-js)\n[![Follow @voxpelli@mastodon.social](https://img.shields.io/mastodon/follow/109247025527949675?domain=https%3A%2F%2Fmastodon.social\u0026style=social)](https://mastodon.social/@voxpelli)\n\n## Usage\n\n### Simple\n\n```javascript\nimport { MarkdownOrChalk } from 'markdown-or-chalk';\n\nconst printAsMarkdown = true;\nconst format = new MarkdownOrChalk(printAsMarkdown);\n\nformat.header('Wow');\n```\n\n## Exports\n\n* `MarkdownOrChalk`\n* `mdastLinkify`\n* `mdastListHelper`\n* `mdastTableHelper`\n\n## Used by\n\n* [`@voxpelli/pretty-ts-errors-cli`](https://github.com/voxpelli/pretty-ts-errors-cli)\n* [`compare-eslint-configs`](https://github.com/voxpelli/compare-eslint-configs)\n\n## See also\n\n* [`chalk`](https://www.npmjs.com/package/chalk)\n* [`mdast`](https://www.npmjs.com/package/mdast)\n* [`mdast-util-to-markdown`](https://www.npmjs.com/package/mdast-util-to-markdown)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoxpelli%2Fmarkdown-or-chalk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvoxpelli%2Fmarkdown-or-chalk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoxpelli%2Fmarkdown-or-chalk/lists"}