ssh-randomart
v0.2.1
Published
Module and CLI tool to convert bytes to ASCII art just like SSH randomart images
Downloads
4
Maintainers
Readme
SSH randomart
Module and CLI tool to convert bytes to ASCII art just like SSH randomart images
Install
$ npm install ssh-randomart
Usage
As a module
const { randomArt } = require("ssh-randomart");
// or
import { randomArt } from "ssh-randomart";
console.log(randomArt("Hello world!"));
console.log(randomArt([0xc0, 0xff, 0xee, 0xca, 0xfe]));
As a CLI
$ echo -n "Hello, world!" | ssh-randomart