ssh-randomart

0.2.1 • Public • Published

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

Package Sidebar

Install

npm i ssh-randomart

Weekly Downloads

3

Version

0.2.1

License

ISC

Unpacked Size

34.3 kB

Total Files

9

Last publish

Collaborators

  • janka102