JSPM

luckydrq-ansi-to-html

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q22612F
  • License MIT

Convert ansi escaped text streams to html.

Package Exports

  • luckydrq-ansi-to-html
  • luckydrq-ansi-to-html/lib/ansi_to_html.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (luckydrq-ansi-to-html) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

luckydrq-ansi-to-html

Forked from rburns/ansi-to-html.

Main difference: options.escapeXML support passed in a function to allow custumizing your own escape behavior. That is:

Change

escapeXML?: boolean

to

escapeXML?: boolean | ((text: string) => string);