terminal-preview: Render ANSI formatting characters as HTML

Recommend this page to a friend!
  Info   View files Example   View files View files (11)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 46 All time: 506 This week: 3Up
Version License JavaScript version Categories
terminal-preview 1.0GNU General Publi...5HTML, jQuery
Description Author

This package can render ANSI formatting characters as HTML.

It can parse the character sequences and generate HTML to render those characters as regular HTML documents.

Innovation Award
JavaScript Programming Innovation award winner
July 2017
Winner


Prize: One downloadable e-book of choice by O'Reilly
ANSI is a standard that defines how to format text to be rendered in a text console.

This package can parse ANSI formatted text and convert it to text with HTML tags that render the same way the original ANSI formatted text sequences were intended.

Manuel Lemos
Picture of Dom Hastings
  Performance   Level  
Name: Dom Hastings <contact>
Classes: 4 packages by
Country: United Kingdom
Age: 39
All time rank: 993 in United Kingdom
Week rank: 6 Up1 in United Kingdom Up
Innovation award
Innovation award
Nominee: 3x

Winner: 2x

Details

terminal-preview

A HTML component that renders ANSI escape sequences for styling as-if they were HTML.

Live example

  Files folder image Files  
File Role Description
Files folder imagedist (3 files)
Files folder imageexample (3 files)
Files folder imagesrc (3 files)
Accessible without login Plain text file index.html Example Example
Accessible without login Plain text file README.md Data README

  Files folder image Files  /  dist  
File Role Description
  Accessible without login Plain text file parse-min.js Aux. Auxiliary script
  Accessible without login Plain text file terminal-min.css Data Auxiliary data
  Accessible without login Plain text file terminal-min.js Class Class source

  Files folder image Files  /  example  
File Role Description
  Accessible without login Plain text file bookmarklet-min.js Aux. Auxiliary script
  Accessible without login Plain text file bookmarklet.js Aux. Auxiliary script
  Accessible without login Plain text file index.html Example Documentation

  Files folder image Files  /  src  
File Role Description
  Accessible without login Plain text file parse.js Class Class source
  Accessible without login Plain text file terminal.css Data Auxiliary data
  Accessible without login Plain text file terminal.js Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:46
This week:0
All time:506
This week:3Up
User Comments (1)
This is a very good class ;-) I love terminal / shell, and th...
5 years ago (José Filipe Lopes Santos)
70%StarStarStarStar