0.2.1 • Published 3 years ago
ssh-randomart v0.2.1
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