0.0.18 • Published 6 months ago
vhs.js v0.0.18
vhs.js
A simple JS library to use https://github.com/charmbracelet/vhs(the
vhs
tool) to generate terminal gifs
Install
npm install vhs.js
Usage
import { exportGif, exportGifToFile } from 'vhs.js';
const tape = `
Require echo
Set Shell "bash"
Set FontSize 32
Set Width 1200
Set Height 600
Type "echo 'Welcome to VHS!'" Sleep 500ms Enter
`;
await exportGifToFile(tape, 'tape.gif');
// or do it in memory
const gifBuffer = await exportGif(tape);
0.0.18
6 months ago
0.0.17
6 months ago
0.0.16
6 months ago
0.0.15
6 months ago
0.0.13
6 months ago
0.0.12
6 months ago
0.0.11
6 months ago
0.0.10
6 months ago
0.0.9
6 months ago
0.0.8
6 months ago
0.0.7
6 months ago
0.0.6
6 months ago
0.0.5-development
6 months ago
0.0.4-development
6 months ago
0.0.3-development
6 months ago
0.0.2-development
6 months ago
0.0.1-development
6 months ago
0.0.0-development
6 months ago