vt100tocss

1.0.0 • Public • Published

VT100 To CSS

This project aims to convert Ansi Escape Sequences to CSS rules as much as possible.

Prefer to support those features that works in Windows 8/OSX 10.9 default console. Prefer to support those features that has already integrated in Firebird BBS system

http://ascii-table.com/ansi-escape-sequences.php

Supported Sequenses

Esc[m Set Graphics Mode

Text attributes

  • 0 All attributes off
  • 1 Bold on
  • 4 Underscore
  • 5 Blink on
  • 7 Reverse video on
  • 8 Concealed on

Foreground colors

  • 30 Black
  • 31 Red
  • 32 Green
  • 33 Yellow
  • 34 Blue
  • 35 Magenta
  • 36 Cyan
  • 37 White

Background colors

  • 40 Black
  • 41 Red
  • 42 Green
  • 43 Yellow
  • 44 Blue
  • 45 Magenta
  • 46 Cyan
  • 47 White

Package Sidebar

Install

npm i vt100tocss

Weekly Downloads

1

Version

1.0.0

License

none

Last publish

Collaborators

  • scaret