JSPM

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

A web player for Terminalizer's recordings

Package Exports

  • terminalizer-player

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 (terminalizer-player) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Terminalizer Web Player

npm npm

A web player for Terminalizer's recordings

Table of Contents

Installation

npm install --save terminalizer-player

Install dependencies:

npm install --save jquery@3 xterm@3.5.1

Usage

Terminalizer player can be used as:

  • ES6 module with import.
  • CommonJS module with require.
  • AMD module with require.
  • Browser global.

Add the following styles to the head element:

<link rel="stylesheet" type="text/css" href="xterm.css">
<link rel="stylesheet" type="text/css" href="terminalizer.min.css">

Add the following scripts before </body> tag:

<script src="jquery.min.js"></script>
<script src="xterm.js"></script>
<script src="terminalizer.min.js"></script>

Add the following script

// Initialize the terminalizer plugin
$('#terminal').terminalizer({
  recordingFile: 'data.json'
});

Methods

Not documented here yet !

Events

Not documented here yet !

License

This project is under the MIT license.