redis-lolwut

Port of redis LOLWUT command to JavaScript (NodeJS)

Usage no npm install needed!

<script type="module">
  import redisLolwut from 'https://cdn.skypack.dev/redis-lolwut';
</script>

README

redis-lolwut

Port of redis LOLWUT command to JavaScript (NodeJS)

Quote:

The command should do something fun and interesting, 
and should be replaced by a new implementation at each new version of Redis.

Installation

npm i -g redis-lolwut

Usage

LOLWUT [VERSION ] [... version specific arguments ...]

Example:

$ lolwut

Version 5

LOLWUT VERSION 5 [terminal columns] [squares-per-row] [squares-per-col]

By default the command uses 66 columns, 8 squares per row, 12 squares per column.

Examples:

$ lolwut version 5
$ lolwut version 5 66 8 12

Version 6

LOLWUT [VERSION 6] [columns] [rows]

  • Version 6 is the default

By default the command uses 80 columns, 40 squares per row per column.

Examples:

$ lolwut
$ lolwut 80 40
$ lolwut version 6 80 40

References

Author

Originally created by Salvatore Sanfilippo

NodeJS Port by Eli Sherer