Skip to content

bbbottle/bbterm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bbterm

A web terminal

Install

yarn add @bbbottle/bbterm

Usage

import { startShell } from "@bbbottle/bbterm"
const $wrapper = document.getElementById('wrapper');
startShell($wrapper);

API

startShell

function startShell(
  wrapper: HTMLElement,
  commands?: Command[],
  options?: Options
): Promise<void>