0.2.2 • Published 5 years ago
nyan-mode v0.2.2
nyan-mode
Emacs's nyan-mode for Web. 🌈
Usage
# yarn
yarn add nyan-mode
# npm
npm install nyan-mode
import { NyanMode } from 'nyan-mode;
window.onload = () => {
const e = document.getElementById('div');
const scrollTarget = document.getElementById('box');
NyanMode.New({
width: 1000,
height: 64,
wavy: false,
}).create(e!, scrollTarget!);
};