markdown-or-chalk
TypeScript icon, indicating that this package has built-in type declarations

0.2.3 • Public • Published

Markdown or Chalk

Prints through a single interface as Chalk enhanced CLI output or as Markdown

npm version npm downloads neostandard javascript style Module type: ESM Types in JS Follow @voxpelli@mastodon.social

Usage

Simple

import { MarkdownOrChalk } from 'markdown-or-chalk';

const printAsMarkdown = true;
const format = new ChalkOrMarkdown(printAsMarkdown);

format.header('Wow');

Exports

  • MarkdownOrChalk
  • mdastLinkify
  • mdastListHelper
  • mdastTableHelper

Used by

See also

Readme

Keywords

none

Package Sidebar

Install

npm i markdown-or-chalk

Weekly Downloads

169

Version

0.2.3

License

MIT

Unpacked Size

23 kB

Total Files

27

Last publish

Collaborators

  • voxpelli